Adding startup scripts for salt-bootstrap to use on OpenBSD

This commit is contained in:
Kristofer M White 2013-03-23 23:43:28 -05:00
parent b100b8a8d4
commit a878f01221
3 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,10 @@
#!/bin/sh
daemon="/usr/local/bin/salt-master"
daemon_flags="-d"
. /etc/rc.d/rc.subr
pexp="/usr/local/bin/python2.7 $daemon"
rc_cmd $1

View file

@ -0,0 +1,10 @@
#!/bin/sh
daemon="/usr/local/bin/salt-master"
daemon_flags="-d"
. /etc/rc.d/rc.subr
pexp="/usr/local/bin/python2.7 $daemon"
rc_cmd $1

View file

@ -0,0 +1,10 @@
#!/bin/sh
daemon="/usr/local/bin/salt-syncdic"
daemon_flags="-d"
. /etc/rc.d/rc.subr
pexp="/usr/local/bin/python2.7 $daemon"
rc_cmd $1