new services

This commit is contained in:
Jack L. Frost 2015-08-13 19:41:27 +03:00
parent 0c138b476a
commit b980138f40
6 changed files with 34 additions and 0 deletions

6
init.d/isc-dhcpd Executable file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env watchman
# dhcp client daemon initscript
#service_respawn=true
service_command='/usr/sbin/dhcpd'
service_args='-f'

4
init.d/libvirtd Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env watchman
#service_respawn='true'
service_command='/usr/bin/libvirtd'

4
init.d/oidentd Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/watchman
service_command='/usr/bin/oidentd'
service_args='-i'

6
init.d/openvpn-server Executable file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env watchman
service_respawn='true'
service_command="/usr/sbin/openvpn"
service_workdir="/etc/openvpn"
service_args="server.conf"

9
init.d/prosody Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env watchman
_prosodyctl='/usr/bin/prosodyctl'
start() { "$_prosodyctl" start; }
stop() { "$_prosodyctl" stop; }
restart() { "$_prosodyctl" restart; }
reload() { "$_prosodyctl" reload; }
status() { "$_prosodyctl" status; }

5
init.d/unbound Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env watchman
#service_respawn='true'
service_command='/usr/bin/unbound'
service_args='-d'