FreeRADIUS auto restart

Started by NW4FUN, February 28, 2022, 05:39:38 PM

Previous topic - Next topic
Hello all,

I've been testing OPNsense for the last month or so and just recently moved to prod. Very randomly, my FreeRADIUS service stops (sometimes also ntopNG) and I'd like to find a way to automatically restart the service(s) when this happens.
I'm not sure I've found a way to do this, anyone has got any pointers?

Cheers,

NW4FUN


You can add a cronjob to regurlary restart FreeRADIUS? It should be there with latest version

https://github.com/opnsense/plugins/blob/master/net/freeradius/src/opnsense/service/conf/actions.d/actions_freeradius.conf#L17
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

Thanks! I didn't realise I could do this via a cron job... ;D

However, I cannot do the same with NTOPNG which is the other service that gets stopped pretty much every other day for no apparent reason...any suggestion?

It needs a description like in the link above
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/