File: secondary-init-script

package info (click to toggle)
apache2 2.4.38-3%2Bdeb10u8
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 63,888 kB
  • sloc: ansic: 194,485; perl: 11,282; sh: 5,956; php: 1,316; javascript: 1,315; awk: 748; makefile: 656; lex: 374; yacc: 161; python: 72; xml: 1
file content (17 lines) | stat: -rw-r--r-- 524 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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