Set a custom UserAgent
This commit is contained in:
parent
e094810b83
commit
4d47fc9c49
|
@ -117,6 +117,7 @@ if (
|
||||||
print "Starting the Systemd Journal GELF uploader daemon\n";
|
print "Starting the Systemd Journal GELF uploader daemon\n";
|
||||||
|
|
||||||
my $ua = LWP::UserAgent->new(
|
my $ua = LWP::UserAgent->new(
|
||||||
|
agent => 'SystemdJournalGelf',
|
||||||
env_proxy => 1,
|
env_proxy => 1,
|
||||||
keep_alive => $conf->{keep_alive}
|
keep_alive => $conf->{keep_alive}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue