SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
www/nginx/pkg/nginx.rc
Executable file
14
www/nginx/pkg/nginx.rc
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/ksh
|
||||
|
||||
daemon="${TRUEPREFIX}/sbin/nginx"
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
pexp="nginx: master process ${daemon}${daemon_flags:+ ${daemon_flags}}"
|
||||
rc_stop_signal=QUIT
|
||||
|
||||
rc_configtest() {
|
||||
${daemon} ${daemon_flags} -t
|
||||
}
|
||||
|
||||
rc_cmd $1
|
Loading…
Add table
Add a link
Reference in a new issue