#!/sbin/runscript # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ APPWEB_CONF="../../etc/appWeb/appWeb.conf" start() { ebegin "Starting ${SVCNAME}" start-stop-daemon --start --quiet \ --exec /usr/sbin/appWeb -- -b -f ${APPWEB_CONF} eend } stop() { ebegin "Stopping ${SVCNAME}" start-stop-daemon --stop --quiet \ --pidfile ${APPWEB_PID} eend }