templates/bin/stopserv.template

Sat, 29 Oct 2016 21:04:10 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sat, 29 Oct 2016 21:04:10 +0200
changeset 124
85985e88f63b
parent 47
ce9790523346
child 175
9823770ba4ee
permissions
-rw-r--r--

using the status code from cgi output now

#!/bin/sh

PID=`cat /tmp/webserver-rw6pgl8b/pid`

kill -TERM $PID

mercurial