From e9c1431fbce09e3355b8704aabd55b48696e1ef1 Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Fri, 31 Oct 2008 06:34:17 -0400 Subject: [PATCH] Use invoke-rc.d instead of calling init scripts directly in invirt-update-conserver svn path=/trunk/packages/invirt-console-host/; revision=1444 --- debian/changelog | 6 ++++++ files/usr/sbin/invirt-update-conserver | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index dea0a0c..88af8e3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Fri, 31 Oct 2008 06:29:20 -0400 + invirt-console-host (0.0.6) unstable; urgency=low * sipb-xen-base -> invirt-base diff --git a/files/usr/sbin/invirt-update-conserver b/files/usr/sbin/invirt-update-conserver index f87ae6c..b9aba8c 100755 --- a/files/usr/sbin/invirt-update-conserver +++ b/files/usr/sbin/invirt-update-conserver @@ -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__': -- 1.7.9.5