From bfea8920a383276336962f1dc9ef15aef109d2bf 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-database-server's postinst svn path=/trunk/packages/invirt-database-server/; revision=1442 --- debian/changelog | 6 ++++++ debian/invirt-database-server.postinst | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index a2a8647..adf31c9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +invirt-database-server (0.0.5) unstable; urgency=low + + * Use invoke-rc.d instead of calling init scripts directly + + -- Evan Broder Fri, 31 Oct 2008 06:26:30 -0400 + invirt-database-server (0.0.4) unstable; urgency=low * sipb-xen-base -> invirt-base diff --git a/debian/invirt-database-server.postinst b/debian/invirt-database-server.postinst index f6615e5..79fe70c 100644 --- a/debian/invirt-database-server.postinst +++ b/debian/invirt-database-server.postinst @@ -35,7 +35,7 @@ case "$1" in su postgres -c 'createdb invirt -O invirt' || true adduser --system invirt fi - /etc/init.d/postgresql-8.3 restart + invoke-rc.d postgresql-8.3 restart su invirt -s /bin/sh -c 'invirt-database-tables create' ;; -- 1.7.9.5