]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/blobdiff - debian/autorandr.service
document how to set --default; remove --default from service
[deb_pkgs/autorandr.git] / debian / autorandr.service
deleted file mode 120000 (symlink)
index d80831e634b8dcf82b2a5a79c84907228d408eff..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-../contrib/systemd/autorandr.service
\ No newline at end of file
new file mode 100644 (file)
index 0000000000000000000000000000000000000000..3a8a642cc441050e17c1f21135b7626400278a68
--- /dev/null
@@ -0,0 +1,16 @@
+[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
+
+[Service]
+ExecStart=/usr/bin/autorandr --batch --change
+Type=oneshot
+RemainAfterExit=false
+
+[Install]
+WantedBy=sleep.target