summaryrefslogtreecommitdiff
path: root/src/etc/systemd
diff options
context:
space:
mode:
authorMaxime THIEBAUT <46688461+0xThiebaut@users.noreply.github.com>2024-05-01 22:16:03 +0200
committerMaxime THIEBAUT <46688461+0xThiebaut@users.noreply.github.com>2024-05-12 10:36:34 +0200
commit549089a970e39d1ea09c10af5eaf8f696dd19d40 (patch)
treec50e8e4ce30a714d70d36434ae9e51028bb6d77a /src/etc/systemd
parent91c1a8556eedc9e9aa50d8bf415b37e53d52cb7d (diff)
downloadvyos-1x-549089a970e39d1ea09c10af5eaf8f696dd19d40.tar.gz
vyos-1x-549089a970e39d1ea09c10af5eaf8f696dd19d40.zip
suricata: T751: Initial support for suricata
Diffstat (limited to 'src/etc/systemd')
-rw-r--r--src/etc/systemd/system/suricata.service.d/10-override.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/etc/systemd/system/suricata.service.d/10-override.conf b/src/etc/systemd/system/suricata.service.d/10-override.conf
new file mode 100644
index 000000000..781256cf5
--- /dev/null
+++ b/src/etc/systemd/system/suricata.service.d/10-override.conf
@@ -0,0 +1,9 @@
+[Service]
+ExecStart=
+ExecStart=/usr/bin/suricata -D --af-packet -c /run/suricata/suricata.yaml --pidfile /run/suricata/suricata.pid
+PIDFile=
+PIDFile=/run/suricata/suricata.pid
+ExecReload=
+ExecReload=/usr/bin/suricatasc -c reload-rules /run/suricata/suricata.socket ; /bin/kill -HUP $MAINPID
+ExecStop=
+ExecStop=/usr/bin/suricatasc -c shutdown /run/suricata/suricata.socket