reverse: su-exec instead of gosu

This commit is contained in:
Wonderfall
2016-04-28 20:21:44 +02:00
parent a34d521d6f
commit 1f4a3708e9
2 changed files with 4 additions and 5 deletions

View File

@ -2,4 +2,4 @@
touch /var/run/nginx.pid
chown -R $UID:$GID /etc/nginx /var/log/nginx /var/run/nginx.pid /sites-enabled /conf.d /certs
chmod -R 700 /certs
gosu $UID:$GID nginx
su-exec $UID:$GID nginx