mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
paperless_cmd.sh: use exec to run supervisord
Without exec, signals aren't passed through properly. Stopping the container won't have any effect unless killed. closes #1616
This commit is contained in:
@@ -12,4 +12,4 @@ if [ "$(id -u)" == "$(id -u paperless)" ]; then
|
||||
)
|
||||
fi
|
||||
|
||||
/usr/local/bin/supervisord -c /etc/supervisord.conf "${rootless_args[@]}"
|
||||
exec /usr/local/bin/supervisord -c /etc/supervisord.conf "${rootless_args[@]}"
|
||||
|
Reference in New Issue
Block a user