diff --git a/gentoo/files/pgmon.openrc b/gentoo/files/pgmon.openrc index c06a900..8c6a10c 100644 --- a/gentoo/files/pgmon.openrc +++ b/gentoo/files/pgmon.openrc @@ -12,8 +12,9 @@ SOCKET="/var/run/${agent_name}.socket" pidfile="$PID_FILE" -command_background="/usr/bin/pgmon" +command="/usr/bin/pgmon" command_args="--server -c '$CONFIG_FILE' -l '$LOG_FILE' -s '$SOCKET'" +command_background="true" command_user="zabbix:zabbix" start_pre() {