summarylogtreecommitdiffstats
path: root/systemdjournal2gelf.service
blob: 333ead35b06300a4a0ba4836cd20b7c299c6f868 (plain)
1
2
3
4
5
6
7
8
9
10
11
[Unit]
Description=Export entries from systemds' journal and send them to a graylog server using gelf

[Service]
EnvironmentFile=/etc/systemdjournal2gelf.conf
ExecStart=/usr/bin/systemdjournal2gelf $JOURNAL_GELF_REMOTE_TARGET --follow
ExecStop=/bin/kill -s SIGTERM $MAINPID
Restart=always

[Install]
WantedBy=multi-user.target