SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
19
www/apache-httpd/pkg/apache2.rc
Normal file
19
www/apache-httpd/pkg/apache2.rc
Normal file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/ksh
|
||||
|
||||
daemon="${TRUEPREFIX}/sbin/httpd2"
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
# mod_perl resets $0 to argv[0]
|
||||
pexp=".*${daemon}.*"
|
||||
rc_reload=NO
|
||||
|
||||
rc_start() {
|
||||
rc_exec "${TRUEPREFIX}/sbin/apachectl2 graceful ${daemon_flags}"
|
||||
}
|
||||
|
||||
rc_stop() {
|
||||
${TRUEPREFIX}/sbin/apachectl2 graceful-stop ${daemon_flags}
|
||||
}
|
||||
|
||||
rc_cmd $1
|
Loading…
Add table
Add a link
Reference in a new issue