]> 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 d270c5e68e7c4caee09711ef8e3227b39409b8ba..7094e728c2efe7af9f645e3b7c269c4b8c9a3a2e 100644 (file)
@@ -1,16 +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
+StartLimitIntervalSec=5
 StartLimitBurst=1
 
 [Service]
 ExecStart=/usr/bin/autorandr --batch --change --default default
 Type=oneshot
 RemainAfterExit=false
+KillMode=process
 
 [Install]
 WantedBy=sleep.target