]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/blobdiff - contrib/systemd/autorandr.service
autorandr.service: Use StartLimitIntervalSec
[deb_pkgs/autorandr.git] / contrib / systemd / autorandr.service
index 74a78de796bd112d670b2b4462d142a317950ca6..7094e728c2efe7af9f645e3b7c269c4b8c9a3a2e 100644 (file)
@@ -1,13 +1,14 @@
 [Unit]
 Description=autorandr execution hook
 After=sleep.target
-StartLimitInterval=5
+StartLimitIntervalSec=5
 StartLimitBurst=1
 
 [Service]
 ExecStart=/usr/bin/autorandr --batch --change --default default
 Type=oneshot
 RemainAfterExit=false
+KillMode=process
 
 [Install]
 WantedBy=sleep.target