]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
dns.cgi: Restart suricata if neccessary.
authorStefan Schantl <stefan.schantl@ipfire.org>
Thu, 9 Jan 2020 15:36:39 +0000 (16:36 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Thu, 9 Jan 2020 15:36:39 +0000 (16:36 +0100)
commit8fbb12f168f770835cd3637996ca6fac974f1c0e
treeb40489bbb5405db3f746fece6539bc851dc86bd7
parentdc7466ce9a007b1fe5554d6c873d40c724ccd1a5
dns.cgi: Restart suricata if neccessary.

When the DNS configuration of the system is changed,
we need to re-generate the file which contains the DNS Server
details for suricata and to restart the service.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
html/cgi-bin/dns.cgi