Hi Jaren,
> Thank you peter! The problem is windows doesn´t work with signals, you need
> cygwin installed on it, that allow you to use linux commands on windows and
> in my enviroment i can´t do that.
>
> Risto contribute with this solution in other mail thread(I copy and paste):
>
> Sec-2.6.2
> type=single
> ptype=substr
> pattern=RELOAD
> desc=reload sec rule files that have been modified
> action=lcall %o -> ( sub { $main::sigreceived = 1; $main::softrefresh = 1; } )
>
> Sec-2.7.10
> type=single
> ptype=substr
> pattern=RELOAD
> desc=reload sec rule files that have been modified
> action=lcall %o -> ( sub { $main::sigreceived = 1; $main::softrefresh = 1; } )
awesome, thanks - a genuine Risto solution! ;-)
In fact it's even more elegant on Unix as well as on Windows, as it avoids
spawning a shell and sending the signal via an external command. I'll keep that
on my list of dirty tricks :-)
By the way: The two code snippets look absolutely identical, are you sure you
didn't miss something?
Regards,
Peter.
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
_______________________________________________
Simple-evcorr-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users