Automated shutdown

Hi all,

I am looking to create a script that will shutdown all applications on my server prior to rebooting. Does Bro automatically stop when a reboot is initiated? If not, is there a bash script that can stop bro so I don’t have to do it manually?

Best regards,

Dan Manzo

Hello Dan,

Bro does not automatically stop when a reboot is initiated - your
operating system will probably just terminate all the processes sometime
during shutdown.

The proper way to shutdown Bro, assuming you use broctl, would be to call
broctl stop when your server shuts down. How exactly you do that depends
on your operating system.

I hope that helps,