mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
2010-09-27 Junichi Satoh <junichi@rworks.jp>
* unix/FreeBSD/pandora_agent: Changed PID detection method to support "jail", FreeBSD virtualization. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3295 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
d0aec09389
commit
545a0c13cf
@ -1,3 +1,8 @@
|
|||||||
|
2010-09-27 Junichi Satoh <junichi@rworks.jp>
|
||||||
|
|
||||||
|
* unix/FreeBSD/pandora_agent: Changed PID detection method to support
|
||||||
|
"jail", FreeBSD virtualization.
|
||||||
|
|
||||||
2010-09-27 Junichi Satoh <junichi@rworks.jp>
|
2010-09-27 Junichi Satoh <junichi@rworks.jp>
|
||||||
|
|
||||||
* unix/pandora_agent_installer: Set PANDORA_USER="root" when it is
|
* unix/pandora_agent_installer: Set PANDORA_USER="root" when it is
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2010-09-27 Junichi Satoh <junichi@rworks.jp>
|
||||||
|
|
||||||
|
* FreeBSD/pandora_agent: Changed PID detection method to support
|
||||||
|
"jail", FreeBSD virtualization.
|
||||||
|
|
||||||
2010-09-27 Junichi Satoh <junichi@rworks.jp>
|
2010-09-27 Junichi Satoh <junichi@rworks.jp>
|
||||||
|
|
||||||
* pandora_agent_installer: Set PANDORA_USER="root" when it is not
|
* pandora_agent_installer: Set PANDORA_USER="root" when it is not
|
||||||
|
@ -39,7 +39,7 @@ procname="/usr/bin/perl"
|
|||||||
start_postcmd()
|
start_postcmd()
|
||||||
{
|
{
|
||||||
sleep 1
|
sleep 1
|
||||||
PANDORA_PID=`ps auxww | grep $command | grep -v grep | head -1 | awk '{ print $2 }'`
|
PANDORA_PID=`pgrep -f -j none $mame`
|
||||||
echo $PANDORA_PID > $pidfile
|
echo $PANDORA_PID > $pidfile
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user