service: Add support for DragonFly BSD
For now create a subclass of the FreeBsd class
This commit is contained in:
parent
4319947e60
commit
fae21f6aad
1 changed files with 11 additions and 0 deletions
|
@ -1073,6 +1073,17 @@ class FreeBsdService(Service):
|
|||
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):
|
||||
"""
|
||||
This is the OpenBSD Service manipulation class - it uses rcctl(8) or
|
||||
|
|
Loading…
Reference in a new issue