diff --git a/deploy/inventree.conf b/deploy/inventree.conf index 782b6ae2f6..a55c7163f6 100644 --- a/deploy/inventree.conf +++ b/deploy/inventree.conf @@ -13,6 +13,7 @@ [supervisord] ; Change this path if log files are stored elsewhere logfile=/home/inventree/log/supervisor.log +nodaemon=true [program:inventree-server] user=inventree diff --git a/docker/Dockerfile b/docker/Dockerfile index 2b5878f223..c0b088d952 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -53,4 +53,4 @@ RUN mkdir /home/inventree/media /home/inventree/static /home/inventree/log /home # Copy supervisor file COPY deploy/inventree.conf /etc/supervisor/conf.d/inventree.conf -RUN service supervisor start +CMD ["/usr/bin/supervisord"]