summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-04-12 19:27:52 +0200
committerlouiz’ <louiz@louiz.org>2017-04-12 19:27:52 +0200
commit4fde4d7369ff2f54f4216704a4fd51a974f53885 (patch)
treeba7028945d7c6d9c15a2300af86f94be06a82f98 /docker
parent7d2b8eb5268fe5b85f004eced289b7d61224e3c7 (diff)
downloadbiboumi-4fde4d7369ff2f54f4216704a4fd51a974f53885.tar.gz
biboumi-4fde4d7369ff2f54f4216704a4fd51a974f53885.tar.bz2
biboumi-4fde4d7369ff2f54f4216704a4fd51a974f53885.tar.xz
biboumi-4fde4d7369ff2f54f4216704a4fd51a974f53885.zip
docker: Run the process using “exec”, to be able to cleanly receive signals
Diffstat (limited to 'docker')
-rw-r--r--docker/biboumi/entrypoint.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/biboumi/entrypoint.sh b/docker/biboumi/entrypoint.sh
index 8b9b869..af61260 100644
--- a/docker/biboumi/entrypoint.sh
+++ b/docker/biboumi/entrypoint.sh
@@ -10,4 +10,4 @@ chown -R biboumi:biboumi /var/lib/biboumi
echo "Running biboumi with the following conf: "
cat /etc/biboumi/biboumi.cfg
-runuser -u biboumi /usr/bin/biboumi /etc/biboumi/biboumi.cfg
+exec runuser -u biboumi /usr/bin/biboumi /etc/biboumi/biboumi.cfg