X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fsv%2Fcyclo-vote%2Flog%2Frun;h=4b1ff7da7cde345bb5c55ec9ee0145bf195794ec;hb=ef74a9f93af8017c2dc88cb8f14805dcc1023156;hp=c5659b21a6c1aaa6f8047b185f31aa838f262b25;hpb=b71ef31a1e1888a6f2b8303fad6e7ad0f8e1572d;p=lhc%2Fateliers.git diff --git a/etc/sv/cyclo-vote/log/run b/etc/sv/cyclo-vote/log/run index c5659b2..4b1ff7d 100644 --- a/etc/sv/cyclo-vote/log/run +++ b/etc/sv/cyclo-vote/log/run @@ -1,8 +1,9 @@ #!/bin/sh -eux sv=${PWD%/log} sv=${sv#/etc/sv/} -eval home="~log-$sv" +user=log-www-"$sv" +eval home="~$user/../sv" cd "$home" -exec chpst -u log-"$sv":log-"$sv":fanout \ +exec chpst -u "$user":"$user" \ svlogd -v -tt "$home"