diff options
author | Stefan Wagner <stw@bit-strickerei.de> | 2016-04-12 00:26:49 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-14 19:59:23 +0000 |
commit | 8050ff6cc71bdb64f6c2a745cc127178f6502956 (patch) | |
tree | 162cee3428de0df87c16e5afad8c1b9eea30ec14 /testing/munin/munin-node.pre-install | |
parent | 95d9d07e136baac45ba854b8f91317fe5417d101 (diff) | |
download | aports-8050ff6cc71bdb64f6c2a745cc127178f6502956.tar.bz2 aports-8050ff6cc71bdb64f6c2a745cc127178f6502956.tar.xz |
testing/munin: new aport
Diffstat (limited to 'testing/munin/munin-node.pre-install')
-rw-r--r-- | testing/munin/munin-node.pre-install | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/munin/munin-node.pre-install b/testing/munin/munin-node.pre-install new file mode 100644 index 0000000000..86c601a64f --- /dev/null +++ b/testing/munin/munin-node.pre-install @@ -0,0 +1,10 @@ +#!/bin/sh + +username=munin +groupname="$username" + +addgroup -S "$username" 2>/dev/null +adduser -S -H -h /run/"$username" -s /sbin/nologin -D -G "$groupname" \ + "$username" 2>/dev/null + +exit 0 |