X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=contrib%2Fsystemd%2Fautorandr.service;h=7094e728c2efe7af9f645e3b7c269c4b8c9a3a2e;hb=HEAD;hp=d9708af49c51ee4b3d4b816389408323fe2d07f2;hpb=94ae61de9d81155a7d1628a040185b82dccdc273;p=deb_pkgs%2Fautorandr.git diff --git a/contrib/systemd/autorandr.service b/contrib/systemd/autorandr.service index d9708af..7094e72 100644 --- a/contrib/systemd/autorandr.service +++ b/contrib/systemd/autorandr.service @@ -1,11 +1,14 @@ [Unit] Description=autorandr execution hook After=sleep.target +StartLimitIntervalSec=5 +StartLimitBurst=1 [Service] ExecStart=/usr/bin/autorandr --batch --change --default default Type=oneshot RemainAfterExit=false +KillMode=process [Install] WantedBy=sleep.target