diff options
Diffstat (limited to 'package/mongoose/S85mongoose')
-rwxr-xr-x | package/mongoose/S85mongoose | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/package/mongoose/S85mongoose b/package/mongoose/S85mongoose deleted file mode 100755 index 9f24e06999..0000000000 --- a/package/mongoose/S85mongoose +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/sh -# -# Start/stop the mongoose HTTP server -# - -set -e - -PATH=/sbin:/bin:/usr/sbin:/usr/bin -NAME=mongoose -DESC="Mongoose HTTP server" - -DAEMON=`which mongoose` -OPTIONS="-document_root /var/www -listening_port 80" - -[ -e /etc/default/mongoose ] && . /etc/default/mongoose - -case "$1" in - start) - echo "Starting $DESC:" - start-stop-daemon -S -x "$DAEMON" -b -- $OPTIONS - echo "$NAME." - ;; - stop) - printf "Stopping $DESC: " - start-stop-daemon -K -x "$DAEMON" - echo "$NAME." - ;; - restart|force-reload) - printf "Restarting $DESC: " - start-stop-daemon -K -x "$DAEMON" - sleep 1 - start-stop-daemon -S -x "$DAEMON" -b -- $OPTIONS - echo "$NAME." - ;; - *) - echo "Usage: $0 {start|stop|restart|force-reload}" >&2 - exit 1 - ;; -esac - -exit 0 |