In invirt-update-conserver, specify the full path to invoke-rc.d for invirt-console-host/0.0.8
authorEvan Broder <broder@mit.edu>
Thu, 6 Nov 2008 23:57:41 +0000 (18:57 -0500)
committerEvan Broder <broder@mit.edu>
Thu, 6 Nov 2008 23:57:41 +0000 (18:57 -0500)
when it's run as a cron job

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

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

index 88af8e3..d263659 100644 (file)
@@ -1,3 +1,10 @@
+invirt-console-host (0.0.8) unstable; urgency=low
+
+  * Specify a full path to invoke-rc.d for when this gets run as a cron
+    job
+
+ -- Evan Broder <broder@mit.edu>  Thu, 06 Nov 2008 18:57:02 -0500
+
 invirt-console-host (0.0.7) unstable; urgency=low
 
   * Use invoke-rc.d instead of calling init scripts directly
index b9aba8c..9a7fd3c 100755 (executable)
@@ -13,7 +13,7 @@ def live_vms():
     return vms
 
 def reload_conserver():
-    p = subprocess.Popen(['invoke-rc.d', 'conserver-server', 'reload'], stdout=subprocess.PIPE)
+    p = subprocess.Popen(['/usr/sbin/invoke-rc.d', 'conserver-server', 'reload'], stdout=subprocess.PIPE)
     p.wait()
 
 if __name__ == '__main__':