From: Julien Moutinho Date: Tue, 19 Mar 2013 16:02:33 +0000 (+0100) Subject: Correction : vm_hosted : rule_runit_configure : teste supervise/ok . X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=commitdiff_plain;h=f908591b3c705b257eacf8f0c6096f16f251d966 Correction : vm_hosted : rule_runit_configure : teste supervise/ok . --- diff --git a/vm_hosted b/vm_hosted index 1ad9887..94916c6 100755 --- a/vm_hosted +++ b/vm_hosted @@ -1138,6 +1138,7 @@ rule_runit_configure () { "$tool"/etc/sv/"$sv"/configure then ln -fns ../sv/"$sv" /etc/service/"$sv" + test ! -e /etc/sv/"$sv"/supervise/ok || sv restart "$sv" fi done