X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fsv%2Flhc-remorque%2Frun;h=7f8b35a41c8cd15c975b5daac5d379a5da03361c;hb=35dffcc39f2d6bf0be2f519849ecd64a7c24100e;hp=3f78af29bc6d4cf466b39a1858241286d1fecea0;hpb=b7595a000cae850e0702938336ce116376bc7d67;p=lhc%2Fateliers.git diff --git a/etc/sv/lhc-remorque/run b/etc/sv/lhc-remorque/run index 3f78af2..7f8b35a 100755 --- a/etc/sv/lhc-remorque/run +++ b/etc/sv/lhc-remorque/run @@ -1,6 +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" \