diff --git a/gentoo/files/pgmon_userparameter.conf b/gentoo/files/pgmon_userparameter.conf new file mode 100644 index 0000000..2f89cf6 --- /dev/null +++ b/gentoo/files/pgmon_userparameter.conf @@ -0,0 +1 @@ +UserParameter=pgmon[*],/usr/bin/pgmon -s "/run/pgmon/$1.socket" "$2,$3,$4,$5,$6,$7,$8,$9" diff --git a/gentoo/pgmon-0.0.1.ebuild b/gentoo/pgmon-0.0.1.ebuild index 49b4606..8f50f02 100644 --- a/gentoo/pgmon-0.0.1.ebuild +++ b/gentoo/pgmon-0.0.1.ebuild @@ -50,7 +50,7 @@ src_install() { # Install Zabbix userparams file if use agent; then insinto /etc/zabbix/zabbix_agent.d - newins "${S}/pgmon_userparameter.conf" pgmon.conf + newins "${FILESDIR}/pgmon_userparameter.conf" pgmon.conf fperms 0644 /etc/zabbix/zabbix_agent.d/pgmon.conf fowners root:zabbix /etc/zabbix/zabbix_agent.d/pgmon.conf fi