dépôts
/
lhc
/
ateliers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modification : etc/sv/mysql/ .
[lhc/ateliers.git]
/
etc
/
sv
/
nginx
/
run
diff --git
a/etc/sv/nginx/run
b/etc/sv/nginx/run
index
78e1efb
..
8bc0f31
100755
(executable)
--- a/
etc/sv/nginx/run
+++ b/
etc/sv/nginx/run
@@
-1,6
+1,19
@@
#!/bin/sh -eux
exec 2>&1
sv=${PWD#/etc/sv/}
#!/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
+
exec /usr/sbin/nginx \
-c /etc/nginx/nginx.conf \
-g 'daemon off;'
exec /usr/sbin/nginx \
-c /etc/nginx/nginx.conf \
-g 'daemon off;'