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:
hkosaka 2013-04-08 08:43:44 +00:00
parent ff01d9ec90
commit d4f1c91483
2 changed files with 7 additions and 2 deletions

View File

@ -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>
* util/pandora_server: Small improvement. Pinned target

View File

@ -113,9 +113,9 @@ case "$1" in
else
kill $TENTACLE_PID
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"
rc_status -s
fi