2010-09-27 Junichi Satoh <junichi@rworks.jp>

* FreeBSD/pandora_server, FreeBSD/tentacle_server: Changed PID
	detection method to support "jail", FreeBSD virtualization.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3296 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
jsatoh 2010-09-27 02:00:36 +00:00
parent 545a0c13cf
commit 9cacd6f1d2
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2010-09-27 Junichi Satoh <junichi@rworks.jp>
* FreeBSD/pandora_server, FreeBSD/tentacle_server: Changed PID
detection method to support "jail", FreeBSD virtualization.
2010-09-24 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Added the apply_policy

View File

@ -38,7 +38,7 @@ procname="/usr/local/bin/perl"
start_postcmd()
{
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
}

View File

@ -38,7 +38,7 @@ procname="/usr/bin/perl"
start_postcmd()
{
TENTACLE_PID=`ps auxww | grep $command | grep -v grep | head -1 | awk '{ print $2 }'`
PANDORA_PID=`pgrep -f -j none $mame`
echo $TENTACLE_PID > $pidfile
}