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:
parent
1dee9a57db
commit
700ebcbfe5
|
@ -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()
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue