Correction : vm_hosted : etc/init.d/tmpfs -> etc/sv/*/run .
[lhc/ateliers.git] / etc / sv / gitweb / run
index 3f78af2..150854d 100755 (executable)
@@ -1,6 +1,10 @@
 #!/bin/sh -eux
 exec 2>&1
 sv=${PWD#/etc/sv/}
+install -d -m 1771 -o root -g root \
+ /run/spawn-fcgi
+install -d -m 1771 -o fcgi-gitweb -g fcgi-gitweb \
+ /run/shm/tmp/gitweb
 exec /usr/bin/spawn-fcgi \
  -u fcgi-"$sv" \
  -g fcgi-"$sv" \