diff options
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 |