X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=local%2Frunit-sv-configure;h=837db20da0d4cd79d7f7bfa2e76e3c873260a0b4;hp=1bd8909e547d9c25a344aed1606c38848125e873;hb=83b3ca83e8d9f263b25052cc1be78af145623857;hpb=f5e12fec2c7ef8d743e2d3e32c3bbe37b40c7a73 diff --git a/local/runit-sv-configure b/local/runit-sv-configure index 1bd8909..837db20 100755 --- a/local/runit-sv-configure +++ b/local/runit-sv-configure @@ -18,10 +18,12 @@ if test -e "$tool"/etc/sv/"$sv"/log/run /etc/sv/"$sv"/log/run fi ( +cd / test ! -r "$tool"/etc/sv/"$sv"/local.sh || . "$tool"/etc/sv/"$sv"/local.sh || return 1 ) ( +cd / test ! -r "$tool"/etc/sv/"$sv"/log/local.sh || . "$tool"/etc/sv/"$sv"/log/local.sh || return 1 )