]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/blobdiff - debian/autorandr.service
Trim trailing whitespace.
[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..d270c5e68e7c4caee09711ef8e3227b39409b8ba
--- /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 --default default
+Type=oneshot
+RemainAfterExit=false
+
+[Install]
+WantedBy=sleep.target