mirror of https://github.com/OISF/suricata
windows: reopen log files with service control code
Windows has no SIGHUP and no unix socket, so Suricata could not be told to
reopen its log files after external log rotation. When running as a service,
this can now be requested with the user-defined control code 129, for
example:
sc.exe control Suricata 129
The service control handler only records the request; the main loop then
handles it the same as SIGHUP.
Ticket: 7757
pull/16512/head
parent
ca93c76ca1
commit
9a37bb659b
Loading…
Reference in New Issue