This commit is contained in:
Mateusz Gruszczyński committed 2026-10-08 22:22:11 +02:00
1 parent f9b8c43f5f
commit 86aebcfc05
12 files changed
+177 -12

No files matched your search

+2 -1
View File
@@ -163,7 +163,8 @@ rustproxy_daemon_user_arg=""
if [ "$rustproxy_user" != "root" ]; then
rustproxy_daemon_user_arg="-u ${rustproxy_user}"
fi
command_args="-r -R ${rustproxy_restart_delay} -P ${pidfile} -p ${child_pidfile} ${rustproxy_daemon_user_arg} -o ${rustproxy_log_file} ${rustproxy_command} ${rustproxy_runtime_args}"
# -H allows daemon(8) to reopen the stdout/stderr log when newsyslog sends SIGHUP.
command_args="-r -R ${rustproxy_restart_delay} -H -P ${pidfile} -p ${child_pidfile} ${rustproxy_daemon_user_arg} -o ${rustproxy_log_file} ${rustproxy_command} ${rustproxy_runtime_args}"
required_files="${rustproxy_command}"
start_precmd="rustproxy_prestart"
start_postcmd="rustproxy_poststart"