Only return users of group 'adm'

This fixes the issue where all groups starting with 'adm' are returned which broke the installation.
This commit is contained in:
Mirko Geissler
2015-11-05 11:51:29 +01:00
parent d50f3cd151
commit f85775b870

View File

@@ -37,7 +37,7 @@ fi
echo 'server_names_hash_bucket_size 512;' >| /etc/nginx/conf.d/server_names_hash_bucket_size.conf
# make sure dokku can read the default log dir
gpasswd -M "$(egrep ^adm /etc/group | awk -F ":" '{ print $4 }')" dokku
gpasswd -M "$(egrep ^adm: /etc/group | awk -F ":" '{ print $4 }')" dokku
chgrp -R dokku /var/log/nginx
chmod g+r /var/log/nginx