blob: dbdd4c31674cde2dcfcef307d2a122d41015324a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: nginx.sh,v 1.1.1.1 2007/12/11 09:12:26 ghen Exp $
#
# PROVIDE: nginx
# REQUIRE: DAEMON
. /etc/rc.subr
name="nginx"
rcvar=${name}
command="@PREFIX@/sbin/${name}"
required_files="@PKG_SYSCONFDIR@/${name}.conf"
pidfile="@VARBASE@/run/${name}.pid"
load_rc_config $name
run_rc_command "$1"
|