Only for you to know, i've included a few (really few) lines on pandora_agent file (perl).
Before the "Configuration token" part of the read_configuration function, include:
} elsif ($line =~ /^\s*env_var\s+(\w+)\s*=\s*(.+)$/) {
$ENV{$1} = $2;
It will looks like the following:
# Collection
} elsif ($line =~ /^\s*file_collection\s+(.+)$/) {
my $collection = $1;
# Prevent path traversal attacks
if ($collection !~ m/(\.\.)|\//) {
$Collections{$collection} = 0;
}
# Environment Variable BEGIN
} elsif ($line =~ /^\s*env_var\s+(\w+)\s*=\s*(.+)$/) {
$ENV{$1} = $2;
# Environment Variable END
# Configuration token
} elsif ($line =~ /^\s*(\S+)\s+(.*)$/) {
log_message ('setup', "$1 is $2");
$Conf{$1} = $2;
# Remove trailing spaces
$Conf{$1} =~ s/\s*$//;
}