Skip to content

Commit c05133f

Browse files
committed
Run supervisord with exec to replace pid 1 process
1 parent f27846b commit c05133f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

startup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ echo "ubuntu:$PASS" | chpasswd
1111

1212
cd /web && ./run.py > /var/log/web.log 2>&1 &
1313
nginx -c /etc/nginx/nginx.conf
14-
/usr/bin/supervisord -n
14+
exec /usr/bin/supervisord -n

0 commit comments

Comments
 (0)