From 27906df14984a4d2878633be212e17a94a71b7e4 Mon Sep 17 00:00:00 2001 From: lemmi Date: Tue, 20 Sep 2022 12:13:40 +0200 Subject: [PATCH] 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 --- docker/paperless_cmd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/paperless_cmd.sh b/docker/paperless_cmd.sh index cdeaf68c4..81a7c6334 100755 --- a/docker/paperless_cmd.sh +++ b/docker/paperless_cmd.sh @@ -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[@]}"