templates/bin/stopserv.template@de4bc3cd2d36 (annotated)
templates/bin/stopserv.template
Sun, 30 Dec 2012 15:49:44 +0100
- author
- Olaf Wintermann <olaf.wintermann@gmail.com>
- date
- Sun, 30 Dec 2012 15:49:44 +0100
- changeset 39
- de4bc3cd2d36
- parent 31
-
280250e45ba6
- child 47
-
ce9790523346
- permissions
- -rw-r--r--
added mime type configuration file
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
|
|