autorandr/contrib/systemd/autorandr.service
Florian Schmaus 4f010c576b autorandr.service: Use StartLimitIntervalSec
It's time that we use StartLimitIntervalSec as even Debian stable has
a recent enough systemd version.
2021-06-25 16:31:50 +02:00

15 lines
265 B
Desktop File

[Unit]
Description=autorandr execution hook
After=sleep.target
StartLimitIntervalSec=5
StartLimitBurst=1
[Service]
ExecStart=/usr/bin/autorandr --batch --change --default default
Type=oneshot
RemainAfterExit=false
KillMode=process
[Install]
WantedBy=sleep.target