mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Adding startup scripts for salt-bootstrap to use on OpenBSD
This commit is contained in:
parent
b100b8a8d4
commit
a878f01221
3 changed files with 30 additions and 0 deletions
10
pkg/openbsd/salt-master.rc-d
Normal file
10
pkg/openbsd/salt-master.rc-d
Normal 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
|
10
pkg/openbsd/salt-minion.rc-d
Normal file
10
pkg/openbsd/salt-minion.rc-d
Normal 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
|
10
pkg/openbsd/salt-syncdic.rc-d
Normal file
10
pkg/openbsd/salt-syncdic.rc-d
Normal 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
|
Loading…
Add table
Reference in a new issue