]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/blobdiff - contrib/systemd/autorandr.service
Invoke the systemd unit from udev, don't install pmutils if systemd is in use
[deb_pkgs/autorandr.git] / contrib / systemd / autorandr.service
diff --git a/contrib/systemd/autorandr.service b/contrib/systemd/autorandr.service
new file mode 100644 (file)
index 0000000..a013fa0
--- /dev/null
@@ -0,0 +1,11 @@
+[Unit]
+Description=autorandr execution hook
+After=sleep.target
+
+[Service]
+ExecStart=/usr/local/bin/autorandr --batch --change --default default
+Type=oneshot
+RemainAfterExit=false
+
+[Install]
+WantedBy=sleep.target