#!/bin/sh # # $FreeBSD: ports/www/hiawatha/files/hiawatha.in,v 1.1 2006/12/03 20:56:24 itetcu Exp $ # # PROVIDE: httpd # REQUIRE: NETWORKING SERVERS # BEFORE: DAEMON # Add the following line(s) to /etc/rc.conf: # hiawatha_enable (bool): Set to "NO" by default, set it to "YES" to enable hiawatha . /etc/rc.subr name="hiawatha" rcvar=`set_rcvar` command="/usr/local/sbin/${name}" pidfile="/var/run/${name}.pid" load_rc_config $name : ${hiawatha_enable="NO"} run_rc_command "$1"