aboutsummaryrefslogtreecommitdiffstats
path: root/main/cacti/cacti.pre-install
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2017-02-07 14:16:36 +0200
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-02-08 15:46:55 +0000
commitba3ed9a280a79501c09ed543b1a8c7c02994996e (patch)
tree74ecde663ae2f7a32366d0820c6f8803ed2e310e /main/cacti/cacti.pre-install
parent6a809057966d326cd79647149699d2346b0047f7 (diff)
downloadaports-ba3ed9a280a79501c09ed543b1a8c7c02994996e.tar.gz
aports-ba3ed9a280a79501c09ed543b1a8c7c02994996e.tar.bz2
aports-ba3ed9a280a79501c09ed543b1a8c7c02994996e.tar.xz
main/cacti: upgrade to 1.0.0
Diffstat (limited to 'main/cacti/cacti.pre-install')
-rw-r--r--main/cacti/cacti.pre-install9
1 files changed, 9 insertions, 0 deletions
diff --git a/main/cacti/cacti.pre-install b/main/cacti/cacti.pre-install
new file mode 100644
index 0000000000..19c56021b5
--- /dev/null
+++ b/main/cacti/cacti.pre-install
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+addgroup -S cacti 2>/dev/null
+addgroup -Sg 82 www-data 2>/dev/null
+
+adduser -SDh /var/lib/cacti -s /sbin/nologin -G cacti -g cacti cacti 2>/dev/null
+adduser cacti www-data 2>/dev/null
+
+exit 0