templates/bin/stopserv.template@96dbfe4f91e5 (annotated)
templates/bin/stopserv.template
Thu, 09 Aug 2012 10:55:40 +0200
- author
- Olaf Wintermann <olaf.wintermann@gmail.com>
- date
- Thu, 09 Aug 2012 10:55:40 +0200
- changeset 33
- 96dbfe4f91e5
- parent 31
-
280250e45ba6
- child 47
-
ce9790523346
- permissions
- -rw-r--r--
improved configuration loading
31
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
1
|
#!/bin/sh
|
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
2
|
|
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
3
|
PID=`cat /tmp/webserver-rw6pgl8b/pid`
|
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
4
|
|
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
5
|
kill -SIGTERM $PID
|
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
6
|
|