Use invoke-rc.d instead of calling init scripts directly in invirt-console-host/0.0.7
authorEvan Broder <broder@mit.edu>
Fri, 31 Oct 2008 10:34:17 +0000 (06:34 -0400)
committerEvan Broder <broder@mit.edu>
Fri, 31 Oct 2008 10:34:17 +0000 (06:34 -0400)
invirt-update-conserver

svn path=/trunk/packages/invirt-console-host/; revision=1444

debian/changelog
files/usr/sbin/invirt-update-conserver

index dea0a0c..88af8e3 100644 (file)
@@ -1,3 +1,9 @@
+invirt-console-host (0.0.7) unstable; urgency=low
+
+  * Use invoke-rc.d instead of calling init scripts directly
+
+ -- Evan Broder <broder@mit.edu>  Fri, 31 Oct 2008 06:29:20 -0400
+
 invirt-console-host (0.0.6) unstable; urgency=low
 
   * sipb-xen-base -> invirt-base
index f87ae6c..b9aba8c 100755 (executable)
@@ -13,7 +13,7 @@ def live_vms():
     return vms
 
 def reload_conserver():
-    p = subprocess.Popen(['/etc/init.d/conserver-server', 'reload'], stdout=subprocess.PIPE)
+    p = subprocess.Popen(['invoke-rc.d', 'conserver-server', 'reload'], stdout=subprocess.PIPE)
     p.wait()
 
 if __name__ == '__main__':