fedora-iot / greenboot

Generic Health Checking Framework for systemd
GNU Lesser General Public License v2.1
101 stars 29 forks source link

How on earth do I suspend this thing #113

Closed namazso closed 1 year ago

namazso commented 1 year ago

There has been a network configuration change and my Fedora IoT server needs some changes. The problem is that it keeps rebooting while I'm trying to solve the issue, so I'd like to suspend it until I fix the network.

Do I really need to uninstall greenboot for this?

If yes, that's terrible UX.

If no, that's terrible documentation. Anyone who cares about docs will probably be here because of the same reason.

nullr0ute commented 1 year ago

Disable or mask the service should do it.

namazso commented 1 year ago

Indeed, while systemctl stop greenboot-healthcheck.service just instantly reboots (instead of after a couple minutes), systemctl disable greenboot-healthcheck.service does seem to stop rebooting. The downside is that it's a permanent change so need to remember to reenable it after things are fixed.