summaryrefslogtreecommitdiff
path: root/app-backup/borgmatic/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-13 13:42:21 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-13 13:42:21 +0100
commit22b51dcc430fb550fd692463a56cdcd5b18efd61 (patch)
tree1155e9ace7a82aac7ede90d7d5c2e79b0ec83918 /app-backup/borgmatic/files
parent4b91667ebe695e6fdfbef3962d099f17484b8806 (diff)
gentoo auto-resync : 13:10:2022 - 13:42:21
Diffstat (limited to 'app-backup/borgmatic/files')
-rw-r--r--app-backup/borgmatic/files/borgmatic-1.7.3-systemd_service_bin_path.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/app-backup/borgmatic/files/borgmatic-1.7.3-systemd_service_bin_path.patch b/app-backup/borgmatic/files/borgmatic-1.7.3-systemd_service_bin_path.patch
new file mode 100644
index 000000000000..25b283777408
--- /dev/null
+++ b/app-backup/borgmatic/files/borgmatic-1.7.3-systemd_service_bin_path.patch
@@ -0,0 +1,8 @@
+--- a/sample/systemd/borgmatic.service
++++ b/sample/systemd/borgmatic.service
+@@ -61,4 +61,4 @@
+ # 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" --what="sleep:shutdown" --why="Prevent interrupting scheduled backup" /root/.local/bin/borgmatic --verbosity -1 --syslog-verbosity 1
++ExecStart=systemd-inhibit --who="borgmatic" --what="sleep:shutdown" --why="Prevent interrupting scheduled backup" /usr/bin/borgmatic --verbosity -1 --syslog-verbosity 1