Use absolute paths in systemd commands.
This commit is contained in:
parent
5b1beda82b
commit
24e1516ec5
1 changed files with 2 additions and 2 deletions
|
@ -18,5 +18,5 @@ Restart=no
|
||||||
LogRateLimitIntervalSec=0
|
LogRateLimitIntervalSec=0
|
||||||
|
|
||||||
# Delay start to prevent backups running during boot.
|
# Delay start to prevent backups running during boot.
|
||||||
ExecStartPre=sleep 1m
|
ExecStartPre=/usr/bin/sleep 1m
|
||||||
ExecStart=systemd-inhibit --who="borgmatic" --why="Prevent interrupting scheduled backup" /root/.local/bin/borgmatic --syslog-verbosity 1
|
ExecStart=/usr/bin/systemd-inhibit --who="borgmatic" --why="Prevent interrupting scheduled backup" /root/.local/bin/borgmatic --syslog-verbosity 1
|
||||||
|
|
Loading…
Reference in a new issue