2012-12-09 Junichi Satoh <junichi@rworks.jp>

* FreeBSD/tentacle_server: Changed how to get pid of tentacle_server
	strictly. Updated year.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7241 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
jsatoh 2012-12-09 14:36:49 +00:00
parent 1dee9a57db
commit 700ebcbfe5
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2012-12-09 Junichi Satoh <junichi@rworks.jp>
* FreeBSD/tentacle_server: Changed how to get pid of tentacle_server
strictly. Updated year.
2012-11-30 Hirofumi Kosaka <kosaka@rworks.jp>
* lib/PandoraFMS/SNMPServer.pm: Added missing safe_output()

View File

@ -2,7 +2,7 @@
# **********************************************************************
# Tentacle Server Daemon launcher for FreeBSD
# (c) 2010 Junichi Satoh <junichi@rworks.jp>
# (c) 2010-2012 Junichi Satoh <junichi@rworks.jp>
#
# **********************************************************************
@ -38,7 +38,7 @@ procname="/usr/bin/perl"
start_postcmd()
{
TENTACLE_PID=`pgrep -f -j none $name`
TENTACLE_PID=`pgrep -f -j none "$procname $command"`
echo $TENTACLE_PID > $pidfile
}