X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=contrib%2Fsystemd%2Fautorandr.service;h=d270c5e68e7c4caee09711ef8e3227b39409b8ba;hb=899f6f652fc11935f8a834e69174322ec4cc1177;hp=a013fa0792a61caaad002a6ebbccd81e9c5c6b04;hpb=3e9037c726e3e3f991dbd27a3c2addac95e2f257;p=deb_pkgs%2Fautorandr.git diff --git a/contrib/systemd/autorandr.service b/contrib/systemd/autorandr.service index a013fa0..d270c5e 100644 --- a/contrib/systemd/autorandr.service +++ b/contrib/systemd/autorandr.service @@ -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