From bc0cc5547adbccdacf4530cd868627ffa3290e5a Mon Sep 17 00:00:00 2001 From: Daniel Uvehag Date: Wed, 20 Apr 2022 18:10:11 +0200 Subject: [PATCH] Update path to borgmatic in systemd service --- borgmatic.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/borgmatic.spec b/borgmatic.spec index 3a12110..101dbb4 100644 --- a/borgmatic.spec +++ b/borgmatic.spec @@ -2,7 +2,7 @@ Name: borgmatic Version: 1.5.24 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Simple, configuration-driven backup software for servers and workstations License: None @@ -70,6 +70,7 @@ rm -rf %{name}.egg-info install -dm 0750 %{buildroot}%{_sysconfdir}/borgmatic install -dm 0750 %{buildroot}%{_sysconfdir}/borgmatic.d +sed -i 's,/root/.local/bin/borgmatic,%{_bindir}/%{name},' sample/systemd/%{name}.service install -Dpm 0644 sample/systemd/%{name}.service %{buildroot}%{_unitdir}/%{name}.service install -Dpm 0644 sample/systemd/%{name}.timer %{buildroot}%{_unitdir}/%{name}.timer @@ -102,6 +103,9 @@ install -Dpm 0644 sample/systemd/%{name}.timer %{buildroot}%{_unitdir}/%{name}.t %systemd_postun borgmatic.timer %changelog +* Wed Apr 20 2022 Daniel Uvehag - 1.5.24-3 +- Update path to borgmatic in systemd service + * Wed Apr 20 2022 Daniel Uvehag - 1.5.24-2 - Add systemd support