Apparently remctl scripts run without a PATH
[invirt/packages/invirt-console.git] / files / usr / sbin / invirt-console-update
index a6716d7..e24a3ce 100755 (executable)
@@ -9,7 +9,7 @@ def main(args):
   f = file('/etc/conserver/conf.d/'+hostname, 'w')
   f.write(contents)
   f.close()
-  p = subprocess.Popen(['invoke-rc.d', 'conserver-server', 'reload'],
+  p = subprocess.Popen(['/usr/sbin/invoke-rc.d', 'conserver-server', 'reload'],
                        stdout=subprocess.PIPE)
   p.wait()
   return 0