diff options
author | Doug Barton <dougb@FreeBSD.org> | 2012-08-05 23:19:36 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2012-08-05 23:19:36 +0000 |
commit | 9aac569eaa031e27191a3f4165b389a17f467ad2 (patch) | |
tree | 1ed78841e1757014ccc09581c61c3683992d3f77 /www/dhttpd/files/dhttpd.in | |
parent | 47b836bfe5c397deb173a868525d4cba22cbb5fa (diff) | |
download | ports-9aac569eaa031e27191a3f4165b389a17f467ad2.tar.gz ports-9aac569eaa031e27191a3f4165b389a17f467ad2.zip |
Notes
Diffstat (limited to 'www/dhttpd/files/dhttpd.in')
-rw-r--r-- | www/dhttpd/files/dhttpd.in | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/www/dhttpd/files/dhttpd.in b/www/dhttpd/files/dhttpd.in new file mode 100644 index 000000000000..d633d6f852b1 --- /dev/null +++ b/www/dhttpd/files/dhttpd.in @@ -0,0 +1,25 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: dhttpd +# REQUIRE: DAEMON +# KEYWORD: shutdown +# +# Add the following line to /etc/rc.conf to enable dhttpd: +# +# dhttpd_enable (bool): Set it to "YES" to enable dhttpd +# + +. /etc/rc.subr + +name="dhttpd" +rcvar=dhttpd_enable + +load_rc_config $name + +: ${dhttpd_enable="NO"} + +command=%%PREFIX%%/sbin/${name} + +run_rc_command "$1" |