File: secondary-init-script

package info (click to toggle)
apache2 2.2.16-6%2Bsqueeze12
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 38,424 kB
  • ctags: 20,767
  • sloc: ansic: 227,630; sh: 20,790; perl: 2,191; makefile: 1,244; awk: 1,133; pascal: 517; lex: 191; python: 136; yacc: 100; xml: 36
file content (19 lines) | stat: -rw-r--r-- 532 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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

set -e

#
# 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