Use invoke-rc.d instead of calling init scripts directly in invirt-database-server/0.0.5
authorEvan Broder <broder@mit.edu>
Fri, 31 Oct 2008 10:34:16 +0000 (06:34 -0400)
committerEvan Broder <broder@mit.edu>
Fri, 31 Oct 2008 10:34:16 +0000 (06:34 -0400)
invirt-database-server's postinst

svn path=/trunk/packages/invirt-database-server/; revision=1442

debian/changelog
debian/invirt-database-server.postinst

index a2a8647..adf31c9 100644 (file)
@@ -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 <broder@mit.edu>  Fri, 31 Oct 2008 06:26:30 -0400
+
 invirt-database-server (0.0.4) unstable; urgency=low
 
   * sipb-xen-base -> invirt-base
index f6615e5..79fe70c 100644 (file)
@@ -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'
     ;;