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