Update path to borgmatic in systemd service
This commit is contained in:
+5
-1
@@ -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 <ufven+pkgs@protonmail.com> - 1.5.24-3
|
||||
- Update path to borgmatic in systemd service
|
||||
|
||||
* Wed Apr 20 2022 Daniel Uvehag <ufven+pkgs@protonmail.com> - 1.5.24-2
|
||||
- Add systemd support
|
||||
|
||||
|
||||
Reference in New Issue
Block a user