File tree Expand file tree Collapse file tree
usr/lib/systemd/system/greenboot-healthcheck.service.d Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ mkdir -p %{buildroot}%{_unitdir}
9191mkdir -p %{buildroot }%{_tmpfilesdir }
9292install -DpZm 0755 usr/lib/greenboot/check/required.d/* %{buildroot }%{_prefix }/lib/%{name }/check/required.d
9393install -DpZm 0755 usr/lib/greenboot/check/wanted.d/* %{buildroot }%{_prefix }/lib/%{name }/check/wanted.d
94+ install -DpZm 0644 usr/lib/systemd/system/greenboot-healthcheck.service.d/10-network-online.conf %{buildroot }%{_unitdir }/greenboot-healthcheck.service.d/10-network-online.conf
9495
9596%post
9697%systemd_post greenboot-healthcheck.service
@@ -131,9 +132,10 @@ install -DpZm 0755 usr/lib/greenboot/check/wanted.d/* %{buildroot}%{_prefix}/lib
131132%dir %{_sysconfdir }/%{name }/red.d
132133
133134%files default-health-checks
134- %{_prefix }/lib/%{name }/check/required.d/01_repository_dns_check.sh
135135%{_prefix }/lib/%{name }/check/wanted.d/01_update_platforms_check.sh
136136%{_prefix }/lib/%{name }/check/required.d/02_watchdog.sh
137+ %{_prefix }/lib/%{name }/check/required.d/01_repository_dns_check.sh
138+ %{_unitdir }/greenboot-healthcheck.service.d/10-network-online.conf
137139
138140%changelog
139141* Thu Jul 24 2025 Sayan Paul <paul.sayan@gmail.com> - 0.16-1
Original file line number Diff line number Diff line change 1+ [Unit]
2+ After=network-online.target
3+ Wants=network-online.target
You can’t perform that action at this time.
0 commit comments