From 20c897d37a36c5b74a71bbcde169a5a429907cb0 Mon Sep 17 00:00:00 2001 From: James Campbell Date: Thu, 6 Jun 2024 00:51:04 -0400 Subject: [PATCH] Fix Gentoo init script --- gentoo/files/pgmon.openrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() {