diff options
author | Clayton Casciato <majortomtosourcecontrol@gmail.com> | 2025-07-07 13:12:38 -0600 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2025-07-18 09:48:15 -0400 |
commit | ca34a66f82caa95b6469f2dee5be6c26bbe2cecc (patch) | |
tree | d4cb57b523ee29c77de6e5cc6e3de871ee310b72 /recipes-ids/suricata/files/suricata.service | |
parent | ee5f84c7c5eb1ee97edbe6cdcf25a0336a672be6 (diff) | |
download | meta-security-ca34a66f82caa95b6469f2dee5be6c26bbe2cecc.tar.gz |
suricata: fix "interface" arg in systemd service
Fix service startup
https://docs.suricata.io/en/suricata-7.0.0/command-line-options.html#cmdoption-i
Signed-off-by: Clayton Casciato <majortomtosourcecontrol@gmail.com>
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Diffstat (limited to 'recipes-ids/suricata/files/suricata.service')
-rw-r--r-- | recipes-ids/suricata/files/suricata.service | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-ids/suricata/files/suricata.service b/recipes-ids/suricata/files/suricata.service index a99a76e..bd7010d 100644 --- a/recipes-ids/suricata/files/suricata.service +++ b/recipes-ids/suricata/files/suricata.service | |||
@@ -9,7 +9,7 @@ Documentation=https://redmine.openinfosecfoundation.org/projects/suricata/wiki | |||
9 | Type=simple | 9 | Type=simple |
10 | CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW | 10 | CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW |
11 | RestrictAddressFamilies= | 11 | RestrictAddressFamilies= |
12 | ExecStart=/usr/bin/suricata -c /etc/suricata/suricata.yaml eth0 | 12 | ExecStart=/usr/bin/suricata -c /etc/suricata/suricata.yaml -i eth0 |
13 | ExecReload=/bin/kill -HUP $MAINPID | 13 | ExecReload=/bin/kill -HUP $MAINPID |
14 | PrivateTmp=yes | 14 | PrivateTmp=yes |
15 | ProtectHome=yes | 15 | ProtectHome=yes |