diff options
author | Stefan Wagner <stw@bit-strickerei.de> | 2016-08-18 20:01:37 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-18 21:21:06 +0200 |
commit | 2f2883cc10692bcb0db5997907b081268fad8d79 (patch) | |
tree | d81d38b511465f265bd65324bb46fdfeee4749e6 /community/munin/munin-node.pre-install | |
parent | be6dec1f57e2315d6b3e04d81be7d2220edbdf7f (diff) | |
download | aports-2f2883cc10692bcb0db5997907b081268fad8d79.tar.bz2 aports-2f2883cc10692bcb0db5997907b081268fad8d79.tar.xz |
testing/[various]: move to community
Diffstat (limited to 'community/munin/munin-node.pre-install')
-rw-r--r-- | community/munin/munin-node.pre-install | 10 |
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 |