Break long lines in borgmatic.service unit
This commit is contained in:
parent
01bca6597d
commit
96a498c6de
1 changed files with 8 additions and 5 deletions
|
@ -19,11 +19,14 @@ IOSchedulingPriority=7
|
||||||
IOWeight=100
|
IOWeight=100
|
||||||
|
|
||||||
Restart=no
|
Restart=no
|
||||||
# Prevent rate limiting of borgmatic log events. If you are using an older version of systemd that
|
# Prevent rate limiting of borgmatic log events. If you are using an older
|
||||||
# doesn't support this (pre-240 or so), you may have to remove this option.
|
# version of systemd that doesn't support this (pre-240 or so), you may have
|
||||||
|
# to remove this option.
|
||||||
LogRateLimitIntervalSec=0
|
LogRateLimitIntervalSec=0
|
||||||
|
|
||||||
# Delay start to prevent backups running during boot. Note that systemd-inhibit requires dbus and
|
# Delay start to prevent backups running during boot. Note that
|
||||||
# dbus-user-session to be installed.
|
systemd-inhibit requires dbus and dbus-user-session to be installed.
|
||||||
# ExecStartPre=sleep 1m
|
# ExecStartPre=sleep 1m
|
||||||
ExecStart=systemd-inhibit --who="borgmatic" --why="Prevent interrupting scheduled backup" /usr/bin/borgmatic -v 1
|
ExecStart=systemd-inhibit --who="borgmatic" \
|
||||||
|
--why="Prevent interrupting scheduled backup" \
|
||||||
|
/usr/bin/borgmatic -v 2
|
||||||
|
|
Loading…
Reference in a new issue