Apache/2.4.7 (Ubuntu) Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) safemode : OFF MySQL: ON | Perl: ON | cURL: OFF | WGet: ON > / usr / share / doc / apache2 / examples / | server ip : 104.21.89.46 your ip : 172.69.214.59 H O M E |
Filename | /usr/share/doc/apache2/examples/secondary-init-script |
Size | 532 |
Permission | rw-r--r-- |
Owner | root : root |
Create time | 27-Apr-2025 10:07 |
Last modified | 26-Nov-2018 20:08 |
Last accessed | 07-Jul-2025 04:43 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#!/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
### 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