1
0
mirror of https://github.com/bitwarden/server.git synced 2025-01-21 21:41:21 +01:00

dont exec

This commit is contained in:
Kyle Spearrin 2019-11-25 09:25:11 -05:00
parent 980e19884d
commit 2cf8b88fbb
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ chown $USERNAME:$GROUPNAME /backup-db.sql
# Launch a loop to backup database on a daily basis
if [ "$BACKUP_DB" != "0" ]
then
exec gosu $USERNAME:$GROUPNAME /bin/sh -c "/backup-db.sh loop >/dev/null 2>&1 &"
gosu $USERNAME:$GROUPNAME /bin/sh -c "/backup-db.sh loop >/dev/null 2>&1 &"
fi
exec gosu $USERNAME:$GROUPNAME /opt/mssql/bin/sqlservr

View File

@ -42,6 +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
exec gosu $USERNAME:$GROUPNAME /bin/sh -c "/logrotate.sh loop >/dev/null 2>&1 &"
gosu $USERNAME:$GROUPNAME /bin/sh -c "/logrotate.sh loop >/dev/null 2>&1 &"
exec gosu $USERNAME:$GROUPNAME nginx -g 'daemon off;'