X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=etc%2Fsv%2Flhc-remorque%2Frun;h=7f8b35a41c8cd15c975b5daac5d379a5da03361c;hp=0241c21cd9264b21a6b5cce2bfc7070ebccd94af;hb=5ce6d51b9c15b2e316d60fad4ecfa1ea1b32bf7b;hpb=2e5bb0ff5df2b7a5d527a4f896b802df31d3c6bc diff --git a/etc/sv/lhc-remorque/run b/etc/sv/lhc-remorque/run index 0241c21..7f8b35a 100755 --- a/etc/sv/lhc-remorque/run +++ b/etc/sv/lhc-remorque/run @@ -1,19 +1,9 @@ #!/bin/sh -eux exec 2>&1 sv=${PWD#/etc/sv/} -home=~www/pub/"$sv" /usr/bin/sv -w 3 start sshd -getent passwd fcgi-"$sv" >/dev/null || -adduser fcgi-"$sv" \ - --disabled-login \ - --disabled-password \ - --group \ - --home "$home" \ - --shell /bin/false \ - --system - install -d -m 1771 -o root -g root \ /run/spawn-fcgi