Put pid file in /var/run/reaction/

This commit is contained in:
yo 2024-06-22 14:43:39 +02:00
parent 287c5176a3
commit dfc4365523

View File

@ -26,7 +26,7 @@ load_rc_config $name
: ${reaction_config:="/usr/local/etc/reaction/reaction.yml"} : ${reaction_config:="/usr/local/etc/reaction/reaction.yml"}
: ${reaction_restart_delay:=3} : ${reaction_restart_delay:=3}
pidfile=/var/run/reaction.pid pidfile=/var/run/reaction/reaction.pid
command="/usr/sbin/daemon" command="/usr/sbin/daemon"
reaction_command="%%PREFIX%%/bin/reaction start" reaction_command="%%PREFIX%%/bin/reaction start"
command_args="-rP ${pidfile} -S -R ${reaction_restart_delay} \ command_args="-rP ${pidfile} -S -R ${reaction_restart_delay} \