Fix sogo system user creation (extra)

Missing file in commit 9dcc25abc5
This commit is contained in:
Patrice Levesque
2016-06-06 10:33:49 -04:00
parent 520286e500
commit dd2f6f8cb1

View File

@@ -15,7 +15,7 @@ if [ "$1" == "install" ] || [ "$1" == "upgrade" ]; then
getent group sogo >& /dev/null || groupadd -f -r sogo
if ! id sogo 1> /dev/null 2>&1; then
useradd -d /var/lib/sogo -g sogo -c "SOGo daemon" -s /usr/sbin/nologin -r sogo
useradd -d /var/lib/sogo -g sogo -c "SOGo daemon" -s /usr/sbin/nologin -r -g sogo sogo
fi
# create mandatory dirs and enforce owner+mode