aboutsummaryrefslogtreecommitdiffstats
path: root/main/collectd/collectd.pre-install
blob: dc57f065e2c8fbdddb1f3ad3f3eda61766cc6999 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

adduser -S -D -h /var/lib/collectd -s /sbin/nologin -g collectd collectd 2>/dev/null
addgroup -S collectd 2>/dev/null
addgroup -S readproc 2>/dev/null
addgroup collectd collectd 2>/dev/null
addgroup collectd readproc 2>/dev/null

exit 0