templates/bin/stopserv.template

Wed, 02 Jan 2013 16:03:50 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Wed, 02 Jan 2013 16:03:50 +0100
changeset 45
a24aa388f02f
parent 31
280250e45ba6
child 47
ce9790523346
permissions
-rw-r--r--

added access log

31
280250e45ba6 updated ucx
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
1 #!/bin/sh
280250e45ba6 updated ucx
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
2
280250e45ba6 updated ucx
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
3 PID=`cat /tmp/webserver-rw6pgl8b/pid`
280250e45ba6 updated ucx
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
4
280250e45ba6 updated ucx
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
5 kill -SIGTERM $PID
280250e45ba6 updated ucx
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
6

mercurial