systemd-journal-gelf/systemd-journal-gelf.service

23 lines
428 B
SYSTEMD
Raw Normal View History

2019-03-25 19:27:19 +01:00
[Unit]
Description=Systemd Journal GEL HTTP uploader
[Service]
Type=simple
User=systemd-journal-gelf
Group=adm
ExecStart=/usr/local/bin/systemd-journal-gelf -c /etc/systemd/journal-gelf.yml
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full
ProtectHome=yes
NoNewPrivileges=yes
MemoryLimit=200M
SyslogIdentifier=systemd-journal-gelf
Restart=on-failure
StartLimitInterval=0
RestartSec=30
[Install]
WantedBy=multi-user.target