Fix sogo system user creation (extra)

Missing file in commit 9dcc25abc5
pull/212/head
Patrice Levesque 2016-06-06 10:33:49 -04:00
parent e7114277fd
commit 5983c5cf4d
1 changed files with 1 additions and 1 deletions

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