Skip to content

Commit f1bf697

Browse files
committed
Use exec to start supervisord for graceful shutdown
- Ensures `supervisord` receives termination signals by making it PID 1
1 parent 0847b37 commit f1bf697

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ rm -r /var/www
3232
ln -s $(pwd)/site /var/www
3333

3434
# Start services
35-
/usr/bin/supervisord -c /etc/supervisord.conf
35+
exec /usr/bin/supervisord -c /etc/supervisord.conf

0 commit comments

Comments
 (0)