Index: trunk/packages/invirt-web/debian/changelog
===================================================================
--- trunk/packages/invirt-web/debian/changelog	(revision 1854)
+++ trunk/packages/invirt-web/debian/changelog	(revision 1855)
@@ -1,2 +1,9 @@
+invirt-web (0.0.16) unstable; urgency=low
+
+  * make initscript stop command not leave apache2 processes lying around
+    (so that restart works)
+
+ -- Greg Price <price@mit.edu>  Fri, 19 Dec 2008 22:34:31 -0500
+
 invirt-web (0.0.15) unstable; urgency=low
 
Index: trunk/packages/invirt-web/files/etc/init.d/apache2.invirt
===================================================================
--- trunk/packages/invirt-web/files/etc/init.d/apache2.invirt	(revision 1854)
+++ trunk/packages/invirt-web/files/etc/init.d/apache2.invirt	(revision 1855)
@@ -33,4 +33,9 @@
     if [ -e $KSTART_PIDFILE ]; then
 	/sbin/start-stop-daemon --stop --pidfile $KSTART_PIDFILE
+        pgrep apache2 >/dev/null && sleep 1 \
+         && pgrep apache2 >/dev/null && sleep 1 \
+         && pgrep apache2 >/dev/null && sleep 1 \
+         && pgrep apache2 >/dev/null && sleep 1 \
+         && pkill -9 apache2
 	rm -f $KSTART_PIDFILE
     else
