OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: AES777GCM on October 07, 2023, 06:37:33 PM

Title: GUI - Why there isn't a "Reload All Services" Function in GUI?
Post by: AES777GCM on October 07, 2023, 06:37:33 PM
Hi Fanco & Team,

Headline says all: I'm missing from beginning a "Reload All Services" Function in GUI.
Why there isn't such a useful function?

cheers,
Udo
Title: Re: GUI - Why there isn't a "Reload All Services" Function in GUI?
Post by: CJ on October 08, 2023, 03:35:28 PM
Any reason to do something like that instead of rebooting?
Title: Re: GUI - Why there isn't a "Reload All Services" Function in GUI?
Post by: kryptonian on October 09, 2023, 10:06:32 AM
Quote from: CJ on October 08, 2023, 03:35:28 PM
Any reason to do something like that instead of rebooting?

No downtime? :)
Title: Re: GUI - Why there isn't a "Reload All Services" Function in GUI?
Post by: franco on October 09, 2023, 12:03:58 PM
Hi,

Eh, nobody asked for it yet? I regularly use it for testing purposes, but for this work I use the console option (especially with VM-based QA) because setting up and opening the GUI takes a lot longer.  :)

The biggest question: how would we integrate it neatly into the GUI? A cron job would be easy but I can see the complaint that this is not a cron related workflow requirement...


Cheers,
Franco
Title: Re: GUI - Why there isn't a "Reload All Services" Function in GUI?
Post by: AES777GCM on October 10, 2023, 07:43:46 PM
QuoteThe biggest question: how would we integrate it neatly into the GUI? A cron job would be easy but I can see the complaint that this is not a cron related workflow requirement...

That's easy. I suggest to create this "extra button" in list of "Services|Diagnostics|System".
Please think of it.

Cheers,
Udo
Title: Re: GUI - Why there isn't a "Reload All Services" Function in GUI?
Post by: franco on October 10, 2023, 09:15:19 PM
As a Service: All services? That's easy indeed but impractical and a clear UX violation as it influences all other services and not just itself while appearing as a single service. But I don't have a better idea either. ;)


Cheers,
Franco
Title: Re: GUI - Why there isn't a "Reload All Services" Function in GUI?
Post by: allan on October 11, 2023, 10:54:15 PM
How about a single Reload button on the title bar of System > Diagnostics > Services? It probably needs to show a confirmation pop-up before continuing, just to be safe.
Title: Re: GUI - Why there isn't a "Reload All Services" Function in GUI?
Post by: tverweij on October 12, 2023, 03:53:43 PM
Quote from: AES777GCM on October 07, 2023, 06:37:33 PM
Hi Fanco & Team,

Headline says all: I'm missing from beginning a "Reload All Services" Function in GUI.
Why there isn't such a useful function?

cheers,
Udo

My answer would be: Because this shouldn't ever be necessary. If you need to restart everything, something big is going wrong and you should better restart the firewall.