#!/bin/sh /etc/rc.common START=99 . /lib/functions.sh DAEMON=/bin/php-e67turnaroundweb PID_FILE=/var/run/e67-turnaroundweb.pid start() { /sbin/start-stop-daemon -S -p $PID_FILE -m -b -x $DAEMON -- -S 0.0.0.0:81 -t /etc/dc-e67/public } stop() { /sbin/start-stop-daemon -K -p $PID_FILE $DAEMON } restart() { stop sleep 1 start }