diff --git a/sddi-urban/Dockerfile b/sddi-urban/Dockerfile index 01eb532..f4b88a6 100644 --- a/sddi-urban/Dockerfile +++ b/sddi-urban/Dockerfile @@ -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 && \ diff --git a/sddi-urban/supervisor/start-supervisor.sh b/sddi-urban/supervisor/start-supervisor.sh new file mode 100644 index 0000000..d1380c4 --- /dev/null +++ b/sddi-urban/supervisor/start-supervisor.sh @@ -0,0 +1,2 @@ +# Use this on startup or integrate in start_ckan.sh +supervisord --configuration /etc/supervisor/supervisord.conf \ No newline at end of file