pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
zabbix50-agent: Fix zabbix user
Module Name: pkgsrc-wip
Committed By: Juraj Lutter <otis%NetBSD.org@localhost>
Pushed By: otis
Date: Tue Aug 18 15:45:08 2020 +0000
Changeset: 122b3d475a31bc7164be409f9c80afca0faf1d56
Modified Files:
zabbix50-agent/Makefile
Log Message:
zabbix50-agent: Fix zabbix user
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=122b3d475a31bc7164be409f9c80afca0faf1d56
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
zabbix50-agent/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diffs:
diff --git a/zabbix50-agent/Makefile b/zabbix50-agent/Makefile
index a1369ac83f..dd4eecf993 100644
--- a/zabbix50-agent/Makefile
+++ b/zabbix50-agent/Makefile
@@ -31,13 +31,17 @@ SUBST_SED.fix-paths= -e 's,/usr/local/etc,${PKG_SYSCONFDIR},g'
ZABBIX_GROUP?= zabbix
ZABBIX_USER?= zabbix
+ZABBIX_HOMEDIR?= /var/zabbix
PKG_GROUPS+= ${ZABBIX_GROUP}
PKG_USERS+= ${ZABBIX_USER}:${ZABBIX_GROUP}
PKG_GECOS.${ZABBIX_USER}= Zabbix user
+PKG_HOME.${ZABBIX_USER}= ${ZABBIX_HOMEDIR}
FILES_SUBST+= ZABBIX_USER=${ZABBIX_USER}
FILES_SUBST+= ZABBIX_GROUP=${ZABBIX_GROUP}
+OWN_DIRS_PERMS+= ${ZABBIX_HOMEDIR} ${ZABBIX_USER} ${ZABBIX_GROUP} 0755
+
SMF_INSTANCES= agent
.include "options.mk"
Home |
Main Index |
Thread Index |
Old Index