Skip to content

Commit

Permalink
add supervisor startscript
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Bayr committed Mar 26, 2024
1 parent 85d5302 commit 9f26bee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions sddi-urban/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ RUN set -ex && \
apt-get -y install supervisor
COPY supervisor/supervisor-ckan-worker.conf /etc/supervisor/conf.d
COPY supervisor/supervisord.conf /etc/supervisor
COPY supervisor/start-supervisor.sh /srv/app/docker-afterinit.d


RUN set -ex && \
Expand Down
2 changes: 2 additions & 0 deletions sddi-urban/supervisor/start-supervisor.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Use this on startup or integrate in start_ckan.sh
supervisord --configuration /etc/supervisor/supervisord.conf

0 comments on commit 9f26bee

Please sign in to comment.