]> 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 a013fa0792a61caaad002a6ebbccd81e9c5c6b04..d270c5e68e7c4caee09711ef8e3227b39409b8ba 100644 (file)
@@ -1,9 +1,14 @@
 [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/local/bin/autorandr --batch --change --default default
+ExecStart=/usr/bin/autorandr --batch --change --default default
 Type=oneshot
 RemainAfterExit=false