]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commitdiff
autorandr.service: Use StartLimitIntervalSec
authorFlorian Schmaus <flo@geekplace.eu>
Fri, 25 Jun 2021 07:46:09 +0000 (09:46 +0200)
committerPhillip Berndt <phillip.berndt@googlemail.com>
Fri, 25 Jun 2021 14:31:50 +0000 (16:31 +0200)
It's time that we use StartLimitIntervalSec as even Debian stable has
a recent enough systemd version.

contrib/systemd/autorandr.service

index 20277f9a66f5d343168cf6bdd6938012538d1e13..7094e728c2efe7af9f645e3b7c269c4b8c9a3a2e 100644 (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]