Lines 25-38
Link Here
|
25 |
|
25 |
|
26 |
: ${salt_master_enable:=NO} |
26 |
: ${salt_master_enable:=NO} |
27 |
: ${salt_master_paths=/sbin:/bin:/usr/sbin:/usr/bin:%%PREFIX%%/bin:%%PREFIX%%/sbin} |
27 |
: ${salt_master_paths=/sbin:/bin:/usr/sbin:/usr/bin:%%PREFIX%%/bin:%%PREFIX%%/sbin} |
|
|
28 |
: ${salt_master_configdir:=%%PREFIX%%/etc/salt} |
28 |
: ${salt_master_pidfile:=/var/run/salt-master.pid} |
29 |
: ${salt_master_pidfile:=/var/run/salt-master.pid} |
29 |
: ${salt_master_eggcache=/tmp} |
30 |
: ${salt_master_eggcache=/tmp} |
30 |
|
31 |
|
31 |
command="%%PREFIX%%/bin/salt-master" |
32 |
command="%%PREFIX%%/bin/salt-master" |
32 |
command_interpreter="%%PYTHON_CMD%%" |
33 |
command_interpreter="%%PYTHON_CMD%%" |
33 |
required_files="%%PREFIX%%/etc/salt" |
34 |
required_files=${salt_master_configdir} |
34 |
command_args="-c ${required_files} -d" |
|
|
35 |
pidfile=${salt_master_pidfile} |
35 |
pidfile=${salt_master_pidfile} |
|
|
36 |
command_args="-c ${required_files} --pid-file=${pidfile} -d" |
36 |
|
37 |
|
37 |
export PATH="${salt_master_paths}" |
38 |
export PATH="${salt_master_paths}" |
38 |
export PYTHON_EGG_CACHE="${salt_master_eggcache}" |
39 |
export PYTHON_EGG_CACHE="${salt_master_eggcache}" |