diff options
Diffstat (limited to 'www/nostromo/files/nostromo.in')
-rw-r--r-- | www/nostromo/files/nostromo.in | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/www/nostromo/files/nostromo.in b/www/nostromo/files/nostromo.in new file mode 100644 index 000000000000..455aa54234b0 --- /dev/null +++ b/www/nostromo/files/nostromo.in @@ -0,0 +1,27 @@ +#!/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=/usr/local/sbin/nhttpd + +nostromo_enable=${nostromo_enable:-"NO"} +nostromo_flags=${nostromo_flags:-"-c /usr/local/nostromo/conf/nhttpd.conf"} + +load_rc_config $name +run_rc_command "$1" |