autorandr.service: Use StartLimitIntervalSec

It's time that we use StartLimitIntervalSec as even Debian stable has
a recent enough systemd version.
This commit is contained in:
Florian Schmaus 2021-06-25 09:46:09 +02:00 committed by Phillip Berndt
parent 0d46eee394
commit 4f010c576b

View File

@ -1,10 +1,7 @@
[Unit]
Description=autorandr execution hook
After=sleep.target
# Note: StartLimitInterval was renamed to StartLimitIntervalSec in systemd-230.
# See autorandr bug #69. Do not rename for now, as the old name is kept for
# compatibility.
StartLimitInterval=5
StartLimitIntervalSec=5
StartLimitBurst=1
[Service]