git://git.novaco.in
/
electrum-server.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fixes
[electrum-server.git]
/
stop
1
#!/bin/bash
2
PID=`/usr/bin/python server.py getpid`
3
/usr/bin/python server.py stop
4
echo "Waiting until process $PID terminates..."
5
while ps -p $PID > /dev/null; do sleep 1; done
6
echo "Done."