Do not inhibit idle in borgmatic.service #589

Merged
witten merged 1 commits from LaserEyess/borgmatic:service_fix into master 2022-10-05 17:14:22 +00:00

1 Commits

Author SHA1 Message Date
LaserEyess 2e9f70d496 Do not inhibit idle in borgmatic.service
When backing up a machine with a monitor using logind to control idle
timeout and things like DPMS, borgmatic can block the screen from
turning on/off with systemd-inhibit. This is because by default
systemd-inhibit will block "idle:sleep:shutdown". Borgmatic does not
need to care about idle, only about suspend and shutdown. So, add an
explicit `--what` flag for what borgmatic should inhibit.

For more information see systemd-inhibit(1).
2022-10-01 09:33:38 -04:00