summaryrefslogtreecommitdiffstats
path: root/debian/secondary-init-script
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/secondary-init-script17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/secondary-init-script b/debian/secondary-init-script
new file mode 100644
index 0000000..8cdfa30
--- /dev/null
+++ b/debian/secondary-init-script
@@ -0,0 +1,17 @@
+#!/bin/sh
+### BEGIN INIT INFO
+# Provides: apache2-XXX
+# Required-Start: $local_fs $remote_fs $network $syslog $named
+# Required-Stop: $local_fs $remote_fs $network $syslog $named
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# X-Interactive: true
+# Short-Description: Start/stop apache2 web server (config /etc/apache2-XXX)
+### END INIT INFO
+
+#
+# this init script can be installed as /etc/init.d/apache2-XXX
+#
+
+# source original init script to keep $0 and other arguments
+. /etc/init.d/apache2