mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
cb710b15d2
http://www.nazgul.ch/dev/nostromo_cl.txt Notified by: portscout
28 lines
422 B
Bash
28 lines
422 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# PROVIDE: nostromo
|
|
# REQUIRE: DAEMON
|
|
# KEYWORD: shutdown
|
|
|
|
#
|
|
# Add the following line to /etc/rc.conf to enable nostromo:
|
|
#
|
|
# nostromo_enable="YES"
|
|
#
|
|
|
|
. /etc/rc.subr
|
|
|
|
name=nostromo
|
|
rcvar=nostromo_enable
|
|
|
|
command=%%PREFIX%%/sbin/nhttpd
|
|
|
|
nostromo_enable=${nostromo_enable:-"NO"}
|
|
nostromo_flags=${nostromo_flags:-"-c %%PREFIX%%/nostromo/conf/nhttpd.conf"}
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|