Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: fix path to sanoid in systemctl #33

Merged
merged 2 commits into from
Oct 10, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions ucore/sanoid.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<EOF
Expand All @@ -76,7 +76,7 @@ ConditionFileNotEmpty=/etc/sanoid/sanoid.conf
[Service]
Environment=TZ=UTC
Type=oneshot
ExecStart=/usr/local/sbin/sanoid --prune-snapshots --verbose
ExecStart=/usr/sbin/sanoid --prune-snapshots --verbose

[Install]
WantedBy=sanoid.service
Expand Down Expand Up @@ -131,6 +131,8 @@ echo "* * * * * root %{_sbindir}/sanoid --cron" > %{buildroot}%{_docdir}/%{name}
%endif

%changelog
* Wed Oct 09 2024 John mcGee <[email protected]> - 2.2.0.ucore1
bsherman marked this conversation as resolved.
Show resolved Hide resolved
- Correct systemctl scripts Exec path
* Tue Mar 19 2024 John McGee <[email protected]> - 2.2.0.ucore
- Remove perl requirement to remove build tools
- Add perl-interpreter and perl-Sys-Hostname requirements
Expand Down
Loading