From 2fe107caa2d1478e3ad74717522fd740764e9be2 Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Fri, 31 Oct 2008 06:34:16 -0400 Subject: [PATCH] Use invoke-rc.d instead of calling init scripts directly in invirt-remote-host init script svn path=/trunk/packages/invirt-remote-host/; revision=1443 --- debian/changelog | 6 ++++++ debian/invirt-remote-host.init | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 7076e6b..3f65868 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +invirt-remote-host (0.0.6) unstable; urgency=low + + * Use invoke-rc.d instead of calling init scripts directly + + -- Evan Broder Fri, 31 Oct 2008 06:27:38 -0400 + invirt-remote-host (0.0.5) unstable; urgency=low * Add a `remote web vnccert` to print out the VNC certificate diff --git a/debian/invirt-remote-host.init b/debian/invirt-remote-host.init index a029ef4..d3c3849 100755 --- a/debian/invirt-remote-host.init +++ b/debian/invirt-remote-host.init @@ -25,7 +25,7 @@ case "$1" in log_begin_msg "Reloading config for $PACKAGE" gen_config log_end_msg $? - /etc/init.d/openbsd-inetd start # returns 1 if inetd is running + invoke-rc.d openbsd-inetd start # returns 1 if inetd is running [ $? -eq 1 ] && exit 0 ;; stop) -- 1.7.9.5