Skip to content

Commit

Permalink
fix:changing service name for smooth upgrade path
Browse files Browse the repository at this point in the history
greenboot.service is renamed to greenboot-healthcheck.service

Signed-off-by: Sayan Paul <[email protected]>
  • Loading branch information
say-paul committed Jul 20, 2023
1 parent fa87816 commit 163504e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
File renamed without changes.
10 changes: 5 additions & 5 deletions greenboot.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
%global __cargo_is_lib() false
%global forgeurl https://github.com/fedora-iot/greenboot

Version: 1.1.09
Version: 1.1.10

%forgemeta

Expand Down Expand Up @@ -224,23 +224,23 @@ install -DpZm 0755 usr/lib/greenboot/check/required.d/* %{buildroot}%{_prefix}/l
install -DpZm 0755 usr/lib/greenboot/check/wanted.d/* %{buildroot}%{_prefix}/lib/%{name}/check/wanted.d

%post
%systemd_post greenboot.service
%systemd_post greenboot-healthcheck.service
%systemd_post greenboot-rollback.service

%preun
%systemd_preun greenboot.service
%systemd_preun greenboot-healthcheck.service
%systemd_preun greenboot-rollback.service

%postun
%systemd_postun greenboot.service
%systemd_postun greenboot-healthcheck.service
%systemd_postun greenboot-rollback.service

%files
%doc README.md
%license LICENSE
%dir %{_libexecdir}/%{name}
%{_libexecdir}/%{name}/%{name}
%{_unitdir}/greenboot.service
%{_unitdir}/greenboot-healthcheck.service
%{_unitdir}/greenboot-rollback.service
%{_sysconfdir}/%{name}/greenboot.conf
%dir %{_prefix}/lib/%{name}
Expand Down

0 comments on commit 163504e

Please sign in to comment.