mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-07 00:57:00 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
22
roles/common/templates/systemd-journal-upload.service.j2
Normal file
22
roles/common/templates/systemd-journal-upload.service.j2
Normal file
@@ -0,0 +1,22 @@
|
||||
[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
|
||||
|
Reference in New Issue
Block a user