X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fsv%2Fgitweb%2Flog%2Frun;h=f8924cd3347eb6cbd54bf671a6919de5a8df6d9d;hb=b27661cf8e40872543f86a00922d18573ef83612;hp=500b8adf5428639271e96eee097225a26f3238dc;hpb=b7595a000cae850e0702938336ce116376bc7d67;p=lhc%2Fateliers.git diff --git a/etc/sv/gitweb/log/run b/etc/sv/gitweb/log/run index 500b8ad..f8924cd 100755 --- a/etc/sv/gitweb/log/run +++ b/etc/sv/gitweb/log/run @@ -1,7 +1,8 @@ #!/bin/sh -eux sv=${PWD%/log} sv=${sv#/etc/sv/} -eval "home=~log-fcgi-$sv" +eval home="~log-fcgi-$sv" + cd "$home" exec chpst -u log-fcgi-"$sv":log-fcgi-"$sv" \ svlogd -v -tt "$home"