mirror of
https://github.com/bitwarden/server
synced 2025-12-10 21:33:41 +00:00
exec gosu
This commit is contained in:
@@ -42,7 +42,6 @@ chown -R $USERNAME:$GROUPNAME /var/cache/nginx
|
||||
chown -R $USERNAME:$GROUPNAME /var/log/nginx
|
||||
|
||||
# Launch a loop to rotate nginx logs on a daily basis
|
||||
|
||||
gosu $USERNAME:$GROUPNAME /bin/sh -c "/logrotate.sh loop >/dev/null 2>&1 &"
|
||||
exec gosu $USERNAME:$GROUPNAME /bin/sh -c "/logrotate.sh loop >/dev/null 2>&1 &"
|
||||
|
||||
exec gosu $USERNAME:$GROUPNAME nginx -g 'daemon off;'
|
||||
|
||||
Reference in New Issue
Block a user