Modify userparam file for Gentoo
This commit is contained in:
parent
467e97f4e7
commit
f528d92030
1
gentoo/files/pgmon_userparameter.conf
Normal file
1
gentoo/files/pgmon_userparameter.conf
Normal file
@ -0,0 +1 @@
|
||||
UserParameter=pgmon[*],/usr/bin/pgmon -s "/run/pgmon/$1.socket" "$2,$3,$4,$5,$6,$7,$8,$9"
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user