annotate scripts/waaad-trig.sh @ 0:9e5a3c884de6

Initial import of the virtual testbed.
author Sebastien Decugis <sdecugis@nict.go.jp>
date Thu, 17 Jun 2010 11:00:32 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9e5a3c884de6 Initial import of the virtual testbed.
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
1 #!/bin/bash -x
9e5a3c884de6 Initial import of the virtual testbed.
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
2
9e5a3c884de6 Initial import of the virtual testbed.
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
3 PID=`ps --no-heading -C waaad -o '%p'`
9e5a3c884de6 Initial import of the virtual testbed.
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
4 kill -TERM $PID
9e5a3c884de6 Initial import of the virtual testbed.
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
5 sleep 1
9e5a3c884de6 Initial import of the virtual testbed.
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
6 kill -KILL $PID
"Welcome to our mercurial repository"