mirror of
https://github.com/sissbruecker/linkding.git
synced 2025-08-10 12:17:56 +02:00
Gracefully stop docker container when it receives SIGTERM (#368)
* add die-on-term option to uwsgi * exec uwsgi in bootstrap.sh
This commit is contained in:
@@ -22,4 +22,4 @@ if [ "$LD_DISABLE_BACKGROUND_TASKS" != "True" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Start uwsgi server
|
# Start uwsgi server
|
||||||
uwsgi --http :$LD_SERVER_PORT uwsgi.ini
|
exec uwsgi --http :$LD_SERVER_PORT uwsgi.ini
|
||||||
|
Reference in New Issue
Block a user