X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fsv%2Flhc-remorque%2Flog%2Frun;fp=etc%2Fsv%2Flhc-remorque%2Flog%2Frun;h=500b8adf5428639271e96eee097225a26f3238dc;hb=b7595a000cae850e0702938336ce116376bc7d67;hp=0000000000000000000000000000000000000000;hpb=e61ce31922a217eafcaa2a2d05d906f9032133e9;p=lhc%2Fateliers.git diff --git a/etc/sv/lhc-remorque/log/run b/etc/sv/lhc-remorque/log/run new file mode 100755 index 0000000..500b8ad --- /dev/null +++ b/etc/sv/lhc-remorque/log/run @@ -0,0 +1,7 @@ +#!/bin/sh -eux +sv=${PWD%/log} +sv=${sv#/etc/sv/} +eval "home=~log-fcgi-$sv" +cd "$home" +exec chpst -u log-fcgi-"$sv":log-fcgi-"$sv" \ + svlogd -v -tt "$home"