From b141b5a18e798ae1fbfdd6567afab6d2eecf294c Mon Sep 17 00:00:00 2001 From: John McGee <32335296+johnmmcgee@users.noreply.github.com> Date: Wed, 9 Oct 2024 21:14:41 -0400 Subject: [PATCH] bug: fix path to sanoid in systemctl (#33) systemctl were pointing to /usr/local/sbin/sanoid, when the package is installed at /usr/sbin/sanoid. --- ucore/sanoid.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ucore/sanoid.spec b/ucore/sanoid.spec index 0d518bd..cd970a6 100644 --- a/ucore/sanoid.spec +++ b/ucore/sanoid.spec @@ -6,7 +6,7 @@ Name: sanoid Version: %{version} -Release: 1%{?dist}.ucore +Release: 1%{?dist}.ucore1 BuildArch: noarch Summary: A policy-driven snapshot management tool for ZFS file systems Group: Applications/System @@ -63,7 +63,7 @@ ConditionFileNotEmpty=/etc/sanoid/sanoid.conf [Service] Environment=TZ=UTC Type=oneshot -ExecStart=/usr/local/sbin/sanoid --take-snapshots --verbose +ExecStart=/usr/sbin/sanoid --take-snapshots --verbose EOF cat > %{buildroot}%{_unitdir}/%{name}-prune.service < %{buildroot}%{_docdir}/%{name} %endif %changelog +* Wed Oct 09 2024 John McGee - 2.2.0.ucore1 +- Correct systemctl scripts Exec path * Tue Mar 19 2024 John McGee - 2.2.0.ucore - Remove perl requirement to remove build tools - Add perl-interpreter and perl-Sys-Hostname requirements