Browse Source

Add note about indirect dbus dependency.

tags/1.5.5
Dan Helfman 5 months ago
parent
commit
602ad9e7ee
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      sample/systemd/borgmatic.service

+ 2
- 1
sample/systemd/borgmatic.service View File

@@ -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

Loading…
Cancel
Save