]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/blobdiff - contrib/systemd/autorandr.service
Note that StartLimitInterval was renamed in systemd-230
[deb_pkgs/autorandr.git] / contrib / systemd / autorandr.service
index d9708af49c51ee4b3d4b816389408323fe2d07f2..d270c5e68e7c4caee09711ef8e3227b39409b8ba 100644 (file)
@@ -1,6 +1,11 @@
 [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
+StartLimitBurst=1
 
 [Service]
 ExecStart=/usr/bin/autorandr --batch --change --default default