aboutsummaryrefslogtreecommitdiffstats
path: root/community/munin/munin-node.pre-install
blob: 7352cf2fdd968c6833ebb05ac92ef665e3571922 (plain) (blame)
1
2
3
4
5
6
7
8
9
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