From 2f2883cc10692bcb0db5997907b081268fad8d79 Mon Sep 17 00:00:00 2001 From: Stefan Wagner Date: Thu, 18 Aug 2016 20:01:37 +0200 Subject: testing/[various]: move to community --- community/munin/munin-node.pre-install | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 community/munin/munin-node.pre-install (limited to 'community/munin/munin-node.pre-install') 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 -- cgit v1.2.3