3 PATH
=/sbin
:/bin
:/usr
/sbin
:/usr
/bin
5 DESC
="Tiny HTTP and HTTPS proxy"
8 if [ -e /var
/run
/$NAME.pid
]; then
9 echo "$DESC: $NAME already started."
12 echo -n "Starting $DESC: $NAME"
13 test -e /var
/run
/$NAME.pid ||
touch /var
/run
/$NAME.pid
19 if [ ! -e /var
/run
/$NAME.pid
]; then
20 echo "$DESC: $NAME is not running."
23 echo -n "Stopping $DESC: $NAME"
25 rm -f /var
/run
/$NAME.pid
31 if [ ! -e /var
/run
/$NAME.pid
]; then
35 echo -n "Restarting $DESC: $NAME"
44 echo "Usage: $N {start|stop|restart|force-reload}" >&2
This page took 0.04532 seconds and 5 git commands to generate.