aboutsummaryrefslogtreecommitdiffstats
path: root/community/munin/munin-node.pre-install
diff options
context:
space:
mode:
authorStefan Wagner <stw@bit-strickerei.de>2016-09-28 09:52:42 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-10-20 18:29:19 +0200
commite2d96a4d6baf8cd72a79741369119effdd44a21e (patch)
tree58706a046c18d6214333032a46b40fc53a8597ea /community/munin/munin-node.pre-install
parent4a67aab47b2ad238f0fe84121527e7e95289ef86 (diff)
downloadaports-e2d96a4d6baf8cd72a79741369119effdd44a21e.tar.bz2
aports-e2d96a4d6baf8cd72a79741369119effdd44a21e.tar.xz
community/munin: move from testing
Diffstat (limited to 'community/munin/munin-node.pre-install')
-rw-r--r--community/munin/munin-node.pre-install10
1 files changed, 10 insertions, 0 deletions
diff --git a/community/munin/munin-node.pre-install b/community/munin/munin-node.pre-install
new file mode 100644
index 0000000000..7352cf2fdd
--- /dev/null
+++ b/community/munin/munin-node.pre-install
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+username=munin
+groupname="$username"
+
+addgroup -S "$username" 2>/dev/null
+adduser -S -D -H -h /run/"$username" -s /sbin/nologin -G "$groupname" \
+ -g "$username" "$username" 2>/dev/null
+
+exit 0