From 04f98db0f938b6844f56f4507d97c2facd35c0a0 Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Sat, 4 Oct 2008 23:33:37 -0400 Subject: [PATCH] Attempt to get Apache and OpenAFS to start in the right order svn path=/trunk/packages/sipb-xen-www/; revision=1045 --- debian/changelog | 7 +++++++ files/etc/init.d/apache2.invirt | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/debian/changelog b/debian/changelog index 45b9cf2..23c03ba 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +sipb-xen-www (3.14) unstable; urgency=low + + * Try to fix startup ordering problem by specifying that the new startup + script depends on $remote_fs + + -- Evan Broder Sat, 04 Oct 2008 23:32:14 -0400 + sipb-xen-www (3.13.1) unstable; urgency=low * Don't add another Listen 443 directive - apache gets angry diff --git a/files/etc/init.d/apache2.invirt b/files/etc/init.d/apache2.invirt index 9b07a5c..254508d 100755 --- a/files/etc/init.d/apache2.invirt +++ b/files/etc/init.d/apache2.invirt @@ -1,4 +1,12 @@ #!/usr/bin/pagsh -e +### BEGIN INIT INFO +# Provides: apache2 +# Required-Start: $local_fs $remote_fs $network $syslog openafs-client +# Required-Stop: $local_fs $remote_fs $network $syslog openafs-client +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Start/stop apache2 web server +### END INIT INFO # # Apache kstart wrapper by anders. # -- 1.7.9.5