Modification : etc/nginx/site.d/lhc-stats/site.conf : intègre de la conf de piwik...
[lhc/ateliers.git] / etc / sv / nginx / run
index 78e1efb..3b876fb 100755 (executable)
@@ -1,6 +1,20 @@
 #!/bin/sh -eux
 exec 2>&1
 sv=${PWD#/etc/sv/}
+
+/usr/bin/sv -w 3 start \
+ lhc-remorque \
+ gitweb \
+ php5-fpm
+
+install -d -m 770 -o www-data -g www-data \
+ /run/nginx \
+ /run/nginx/fastcgi \
+ /run/shm/cache/nginx \
+ /run/shm/cache/nginx/fastcgi \
+ /run/shm/cache/nginx/client_body \
+ /run/shm/tmp/nginx
+
 exec /usr/sbin/nginx \
  -c /etc/nginx/nginx.conf \
  -g 'daemon off;'