templates/bin/stopserv.template@4b546c4f25ed
templates/bin/stopserv.template
Sat, 31 Dec 2016 18:05:40 +0100
- author
- Olaf Wintermann <olaf.wintermann@gmail.com>
- date
- Sat, 31 Dec 2016 18:05:40 +0100
- changeset 144
- 4b546c4f25ed
- parent 47
-
ce9790523346
- child 175
-
9823770ba4ee
- permissions
- -rw-r--r--
fixes cgi fd leak
#!/bin/sh
PID=`cat /tmp/webserver-rw6pgl8b/pid`
kill -TERM $PID