Set a custom UserAgent

master
Daniel Berteaud 6 years ago
parent e094810b83
commit 4d47fc9c49
  1. 1
      systemd-journal-gelf

@ -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…
Cancel
Save