aports/testing/rrdbot/rrdbot.pre-install
Przemyslaw Pawelczyk a835b69165 testing/[various]: Add group and use it as primary in .pre-* scripts.
Fixes the problem I unintentionally brought in commit ccc056dbf9:
system user creation doesn't add same named group and uses nogroup as
primary group unless explicitly specified via -G.

Brings status quo regarding primary groups of users created in packages:
- testing/dbmail
- testing/dspam
- testing/opensips
- testing/pdns
- testing/qpage
- testing/rrdbot
- testing/wt
2016-06-07 07:20:09 +00:00

7 lines
124 B
Bash

#!/bin/sh
addgroup -S rrdbotd 2>/dev/null
adduser -S -D -H -s /bin/false -G rrdbotd -g rrdbotd rrdbotd 2>/dev/null
exit 0