2010-11-22 Ramon Novoa <rnovoa@artica.es>
* Linux/pandora_agent.conf: Set root as the default pandora_user. * pandora_agent: Share the semaphore after creating it. Removed an unnecessary require. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3613 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
0c7fa1a7a5
commit
001f757791
|
@ -1,3 +1,10 @@
|
||||||
|
2010-11-22 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
|
* Linux/pandora_agent.conf: Set root as the default pandora_user.
|
||||||
|
|
||||||
|
* pandora_agent: Share the semaphore after creating it. Removed
|
||||||
|
an unnecessary require.
|
||||||
|
|
||||||
2010-11-19 Ramon Novoa <rnovoa@artica.es>
|
2010-11-19 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
* pandora_agent, AIX/pandora_agent.conf,
|
* pandora_agent, AIX/pandora_agent.conf,
|
||||||
|
|
|
@ -101,7 +101,7 @@ transfer_mode tentacle
|
||||||
#agent_threads 1
|
#agent_threads 1
|
||||||
|
|
||||||
# User the agent will run as
|
# User the agent will run as
|
||||||
pandora_user ramon
|
#pandora_user root
|
||||||
|
|
||||||
# Secondary server configuration
|
# Secondary server configuration
|
||||||
# ==============================
|
# ==============================
|
||||||
|
|
|
@ -48,12 +48,11 @@ eval {
|
||||||
require threads;
|
require threads;
|
||||||
require threads::shared;
|
require threads::shared;
|
||||||
require Thread::Semaphore;
|
require Thread::Semaphore;
|
||||||
require IO::Socket;
|
|
||||||
};
|
};
|
||||||
if (!$@) {
|
if (!$@) {
|
||||||
|
$Sem = Thread::Semaphore->new;
|
||||||
threads::shared::share (\$Xml);
|
threads::shared::share (\$Xml);
|
||||||
threads::shared::share (\$Sem);
|
threads::shared::share (\$Sem);
|
||||||
$Sem = Thread::Semaphore->new;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
use constant AGENT_VERSION => '3.2RC1';
|
use constant AGENT_VERSION => '3.2RC1';
|
||||||
|
|
Loading…
Reference in New Issue