2013-04-08 Hirofumi Kosaka <kosaka@rworks.jp>
* util/tentacle_serverd: Tiny improvement. Changed to use target process id to check if the process has been stopped. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7942 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
ff01d9ec90
commit
d4f1c91483
|
@ -1,3 +1,8 @@
|
||||||
|
2013-04-08 Hirofumi Kosaka <kosaka@rworks.jp>
|
||||||
|
|
||||||
|
* util/tentacle_serverd: Tiny improvement. Changed to use
|
||||||
|
target process id to check if the process has been stopped.
|
||||||
|
|
||||||
2013-04-08 Hirofumi Kosaka <kosaka@rworks.jp>
|
2013-04-08 Hirofumi Kosaka <kosaka@rworks.jp>
|
||||||
|
|
||||||
* util/pandora_server: Small improvement. Pinned target
|
* util/pandora_server: Small improvement. Pinned target
|
||||||
|
|
|
@ -113,9 +113,9 @@ case "$1" in
|
||||||
else
|
else
|
||||||
kill $TENTACLE_PID
|
kill $TENTACLE_PID
|
||||||
sleep 1
|
sleep 1
|
||||||
TENTACLE_PID=`get_pid`
|
_PID=`get_pid`
|
||||||
|
|
||||||
if [ ! -z "$TENTACLE_PID" ]; then
|
if [ "$_PID" = "$TENTACLE_PID" ]; then
|
||||||
echo "Tentacle Server could not be stopped"
|
echo "Tentacle Server could not be stopped"
|
||||||
rc_status -s
|
rc_status -s
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue