Modification : etc/nginx/site.d/lhc-stats/site.conf : intègre de la conf de piwik...
[lhc/ateliers.git] / etc / sv / nginx / run
1 #!/bin/sh -eux
2 exec 2>&1
3 sv=${PWD#/etc/sv/}
4
5 /usr/bin/sv -w 3 start \
6 lhc-remorque \
7 gitweb \
8 php5-fpm
9
10 install -d -m 770 -o www-data -g www-data \
11 /run/nginx \
12 /run/nginx/fastcgi \
13 /run/shm/cache/nginx \
14 /run/shm/cache/nginx/fastcgi \
15 /run/shm/cache/nginx/client_body \
16 /run/shm/tmp/nginx
17
18 exec /usr/sbin/nginx \
19 -c /etc/nginx/nginx.conf \
20 -g 'daemon off;'