]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/blobdiff - contrib/systemd/autorandr.service
systemd unit: Rate limit execution
[deb_pkgs/autorandr.git] / contrib / systemd / autorandr.service
index d9708af49c51ee4b3d4b816389408323fe2d07f2..74a78de796bd112d670b2b4462d142a317950ca6 100644 (file)
@@ -1,6 +1,8 @@
 [Unit]
 Description=autorandr execution hook
 After=sleep.target
+StartLimitInterval=5
+StartLimitBurst=1
 
 [Service]
 ExecStart=/usr/bin/autorandr --batch --change --default default