Quellcode durchsuchen

Do not run circus as an init daemon

Johannes Zellner vor 9 Jahren
Ursprung
Commit
2adfc6c189
3 geänderte Dateien mit 2 neuen und 7 gelöschten Zeilen
  1. 0 1
      Dockerfile
  2. 0 5
      circus.conf
  3. 2 1
      start.sh

+ 0 - 1
Dockerfile

@@ -39,7 +39,6 @@ RUN git checkout stable
 WORKDIR /app/code
 
 ADD circus.ini /app/code/circus.ini
-ADD circus.conf /etc/init/circus.conf
 RUN rm /etc/nginx/sites-enabled/default
 ADD taiga.nginx.conf /etc/nginx/sites-enabled/taiga
 ADD conf.json /app/code/taiga-front-dist/dist/js/conf.json

+ 0 - 5
circus.conf

@@ -1,5 +0,0 @@
-start on filesystem and net-device-up IFACE=lo
-stop on runlevel [016]
-
-respawn
-exec /usr/local/bin/circusd /app/code/circus.ini

+ 2 - 1
start.sh

@@ -37,6 +37,7 @@ sed -e "s/\"api\": \".*\",/\"api\": \"https:\/\/${HOSTNAME}\/api\/v1\/\",/" \
 
 echo "update nginx"
 service nginx restart
-#service circus start
+
+/usr/local/bin/circusd /app/code/circus.ini
 
 read