1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-api-healthcheck synced 2026-06-28 11:03:43 +02:00

freebsd: tell newsyslog where the pid file is.

This commit is contained in:
Henrik Hautakoski 2020-06-26 03:44:13 +02:00
parent 9e8ee93983
commit 184302b9e4
3 changed files with 7 additions and 2 deletions

View file

@ -1,2 +1,2 @@
# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num]
{{ LOG_FILE }} 640 3 * @T10 JC
{{ LOG_FILE }} 640 3 * @T10 JC {{ PID_FILE }}

View file

@ -16,7 +16,7 @@
name="{{ RC_NAME }}"
desc="{{ DESCRIPTION }}"
logfile="${eosio_api_healthcheck_logfile:-/var/log/${name}.log}"
pidfile="/var/run/${name}.pid"
pidfile="{{ PID_FILE }}"
command="{{ PROGRAM }}"
command_args="-p ${pidfile} ${eosio_api_healthcheck_args}"