ansible-roles/roles/common/templates/systemd-journal-upload.service.j2
2021-12-01 19:13:34 +01:00

23 lines
437 B
Django/Jinja

[Unit]
Description=Journal Remote Upload Service
After=network.target
[Service]
ExecStart=/lib/systemd/systemd-journal-upload \
--save-state
User=systemd-journal-upload
PrivateTmp=yes
PrivateDevices=yes
WatchdogSec=20min
Restart=always
RestartSec=10min
TimeoutStopSec=10
# If there are many split up journal files we need a lot of fds to
# access them all and combine
LimitNOFILE=16384
[Install]
WantedBy=multi-user.target