1.2 Rev1: Fix pidfile use
This commit is contained in:
@ -31,7 +31,7 @@ load_rc_config $name
|
||||
|
||||
command="python3"
|
||||
command_args="/usr/local/bin/carp_exporter.py > ${carp_exporter_logfile} 2>&1"
|
||||
start_cmd="/usr/sbin/daemon -u ${carp_exporter_user} ${command} ${command_args}"
|
||||
start_cmd="/usr/sbin/daemon -u ${carp_exporter_user} -p ${carp_exporter_pidfile} ${command} ${command_args}"
|
||||
start_precmd="${name}_prestart"
|
||||
|
||||
carp_exporter_prestart()
|
||||
|
Reference in New Issue
Block a user