X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fsv%2Flhc-remorque%2Frun;h=7f8b35a41c8cd15c975b5daac5d379a5da03361c;hb=5ce6d51b9c15b2e316d60fad4ecfa1ea1b32bf7b;hp=23bfe9ef38fa10500561dd01867baf8f003a732e;hpb=840d2b430a302b020d17d1c4c23df9b48278f8b2;p=lhc%2Fateliers.git diff --git a/etc/sv/lhc-remorque/run b/etc/sv/lhc-remorque/run index 23bfe9e..7f8b35a 100755 --- a/etc/sv/lhc-remorque/run +++ b/etc/sv/lhc-remorque/run @@ -1,7 +1,12 @@ #!/bin/sh -eux exec 2>&1 sv=${PWD#/etc/sv/} + /usr/bin/sv -w 3 start sshd + +install -d -m 1771 -o root -g root \ + /run/spawn-fcgi + exec /usr/bin/spawn-fcgi \ -u fcgi-"$sv" \ -g fcgi-"$sv" \