mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
fix: persist users in the dokku group through installations
Closes #2908
This commit is contained in:
@@ -60,7 +60,7 @@ fi
|
||||
# revert dokku group changes
|
||||
gpasswd -a dokku adm
|
||||
chgrp -R adm /var/log/nginx
|
||||
gpasswd -M "" dokku
|
||||
gpasswd -M "$(egrep ^dokku: /etc/group | awk -F ":" '{ print $4 }')" dokku
|
||||
[[ -f /etc/logrotate.d/nginx ]] && sed -i -e 's/create 0640 www-data dokku/create 0640 www-data adm/g' /etc/logrotate.d/nginx
|
||||
|
||||
# Create nginx error templates
|
||||
|
||||
Reference in New Issue
Block a user