X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fsv%2Flhc-remorque%2Frun;h=7f8b35a41c8cd15c975b5daac5d379a5da03361c;hb=8c03e49457c0e76993db2ae142c5550af5e6dfdc;hp=0f2c6bb6f58ae2767af7663d0678c929812d0f07;hpb=1b63122dd097c575896b4c4158ed5439eeca1563;p=lhc%2Fateliers.git diff --git a/etc/sv/lhc-remorque/run b/etc/sv/lhc-remorque/run index 0f2c6bb..7f8b35a 100755 --- a/etc/sv/lhc-remorque/run +++ b/etc/sv/lhc-remorque/run @@ -1,9 +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" \