Package logrotate script
This commit is contained in:
@@ -7,9 +7,11 @@ supervisor="supervise-daemon"
|
||||
agent_name=${SVCNAME#pgmon.}
|
||||
agent_name=${agent_name:-pgmon}
|
||||
|
||||
PGMON_USER="${PGMON_USER:-postgres}"
|
||||
PGMON_GROUP="${PGMON_GROUP:-$PGMON_USER}"
|
||||
CONFIG_FILE="/etc/pgmon/${agent_name}.yml"
|
||||
|
||||
command="/usr/bin/pgmon"
|
||||
command_args="'$CONFIG_FILE'"
|
||||
command_background="true"
|
||||
command_user="zabbix:zabbix"
|
||||
command_user="${PGMON_USER}:${PGMON_GROUP}"
|
||||
|
||||
Reference in New Issue
Block a user