From 602ad9e7ee36b2b1fdbf6083bd16919d45be8045 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Thu, 21 May 2020 19:56:32 -0700 Subject: [PATCH] Add note about indirect dbus dependency. --- sample/systemd/borgmatic.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sample/systemd/borgmatic.service b/sample/systemd/borgmatic.service index cd3f51b0..bc2a1272 100644 --- a/sample/systemd/borgmatic.service +++ b/sample/systemd/borgmatic.service @@ -19,6 +19,7 @@ Restart=no # doesn't support this (pre-240 or so), you may have to remove this option. LogRateLimitIntervalSec=0 -# Delay start to prevent backups running during boot. +# Delay start to prevent backups running during boot. Note that systemd-inhibit requires dbus and +# dbus-user-session to be installed. ExecStartPre=sleep 1m ExecStart=systemd-inhibit --who="borgmatic" --why="Prevent interrupting scheduled backup" /root/.local/bin/borgmatic --syslog-verbosity 1