Add log rate limiting

This commit is contained in:
Ben 2021-11-28 10:13:38 +01:00
parent 24b5a123e6
commit b2bafc521e
Signed by: ben
GPG key ID: 0F54A7ED232D3319

View file

@ -16,9 +16,11 @@ ExecStart=/usr/local/bin/podlaunch %i
ExecReload=/usr/bin/podman pod kill --signal HUP %i_pod ExecReload=/usr/bin/podman pod kill --signal HUP %i_pod
Restart=always Restart=always
RestartSec=20s RestartSec=20s
TimeoutStartSec=2min TimeoutStartSec=3min
TimeoutStopSec=1min TimeoutStopSec=1min
SendSIGKILL=no SendSIGKILL=no
LogRateLimitIntervalSec=1h
LogRateLimitBurst=1800
[Install] [Install]
WantedBy=multi-user.target default.target WantedBy=multi-user.target default.target