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:
parent
9e8ee93983
commit
184302b9e4
3 changed files with 7 additions and 2 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
|
|
@ -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}"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue