#!/bin/sh # # $Id$ # # PROVIDE: wlweb # REQUIRE: LOGIN cleanvar # KEYWORD: shutdown wlweb_enable=${wlweb_enable:-"NO"} wlweb_flags=${wlweb_flags:-} . /etc/rc.subr name="wlweb" rcvar=`set_rcvar` load_rc_config $name command="/usr/local/wlweb/main.py" command_interpreter="/usr/local/bin/python" pid_file="/var/run/${name}.pid" run_rc_command "$1"