]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/blobdiff - contrib/systemd/autorandr.service
Use process kill mode in systemd service
[deb_pkgs/autorandr.git] / contrib / systemd / autorandr.service
index 74a78de796bd112d670b2b4462d142a317950ca6..20277f9a66f5d343168cf6bdd6938012538d1e13 100644 (file)
@@ -1,6 +1,9 @@
 [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
 
@@ -8,6 +11,7 @@ StartLimitBurst=1
 ExecStart=/usr/bin/autorandr --batch --change --default default
 Type=oneshot
 RemainAfterExit=false
+KillMode=process
 
 [Install]
 WantedBy=sleep.target