[Bro] Best way to autostart local BRO on Mac OS X

Drew Dixon dwdixon at umich.edu
Mon Mar 13 13:32:55 PDT 2017

Is there some reason you want to make it more complicated by using
plist's/launchd/launchctl etc.?

Why not just use a good ol' cron job on your Mac, should work just fine.
FYI the standard bro cron job to clean bro up periodically will autostart
bro if it's not running AFAIK...

*/5 * * * * /usr/local/bin/broctl cleanup

or if 5 minutes on boot is too long after you boot up make it more frequent
replacing the 5 with a 2 or test to see if the following works in your
crontab as expected (on boot):

@reboot /usr/local/bin/broctl deploy

Hope this helps,


On Mon, Mar 13, 2017 at 6:34 AM, Dan Ecott <dan.ecott at gmail.com
<javascript:_e(%7B%7D,'cvml','dan.ecott at gmail.com');>> wrote:

> Hello.
> I have had a couple of attempts at writing a plist file that auto starts
> BRO on my developer Mac but havent been able to get any to work yet. I am
> deploying the plist file in the /Library/LaunchAgents and LaunchDaemons
> directory but it doesn't seem to want to work.
> Does anyone have something like this working?
> Goal is to ensure the sensor is always running from system startup and
> wake.
> _______________________________________________
> Bro mailing list
> bro at bro-ids.org <javascript:_e(%7B%7D,'cvml','bro at bro-ids.org');>
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20170313/82811399/attachment-0001.html 

More information about the Bro mailing list