1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

service: Add support for DragonFly BSD

For now create a subclass of the FreeBsd class
This commit is contained in:
Antonio Huete Jimenez 2018-02-07 13:48:45 +01:00 committed by Brian Coca
parent 4319947e60
commit fae21f6aad

View file

@ -1073,6 +1073,17 @@ class FreeBsdService(Service):
return ret return ret
class DragonFlyBsdService(FreeBsdService):
"""
This is the DragonFly BSD Service manipulation class - it uses the /etc/rc.conf
file for controlling services started at boot and the 'service' binary to
check status and perform direct service manipulation.
"""
platform = 'DragonFly'
distribution = None
class OpenBsdService(Service): class OpenBsdService(Service):
""" """
This is the OpenBSD Service manipulation class - it uses rcctl(8) or This is the OpenBSD Service manipulation class - it uses rcctl(8) or