]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/blob - contrib/systemd/autorandr.service
Note that StartLimitInterval was renamed in systemd-230
[deb_pkgs/autorandr.git] / contrib / systemd / autorandr.service
1 [Unit]
2 Description=autorandr execution hook
3 After=sleep.target
4 # Note: StartLimitInterval was renamed to StartLimitIntervalSec in systemd-230.
5 # See autorandr bug #69. Do not rename for now, as the old name is kept for
6 # compatibility.
7 StartLimitInterval=5
8 StartLimitBurst=1
9
10 [Service]
11 ExecStart=/usr/bin/autorandr --batch --change --default default
12 Type=oneshot
13 RemainAfterExit=false
14
15 [Install]
16 WantedBy=sleep.target