Make systemd user configurable and create log directory
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
extra_started_commands="reload"
|
||||
|
||||
supervisor="supervise-daemon"
|
||||
|
||||
agent_name=${SVCNAME#pgmon.}
|
||||
agent_name=${agent_name:-pgmon}
|
||||
|
||||
CONFIG_FILE="/etc/pgmon/${agent_name}.yml"
|
||||
|
||||
command="/usr/bin/pgmon"
|
||||
command_args="'$CONFIG_FILE'"
|
||||
command_background="true"
|
||||
command_user="zabbix:zabbix"
|
||||
Reference in New Issue
Block a user