systemd fails to start service as inline using /usr/lib/systemd/system/snort@.service as described in wiki. If I delete "ExecStartPre=/usr/sbin/ip link set up dev %I" the service will start.
[Unit]
Description=Snort IDS system listening on '%I'
[Service]
Type=simple
ExecStartPre=/usr/sbin/ip link set up dev %I
ExecStartPre=/usr/bin/ethtool -K %I gro off
ExecStart=/usr/bin/snort --daq-dir /usr/lib/daq/ -A fast -b -p -u snort -g snort -c /etc/snort/snort.conf -i %I -Q
[Install]
Alias=multi-user.target.wants/snort@%i.service
Pinned Comments
robertfoster commented on 2021-02-10 22:19
Please don't mark as not updated.
For 3.x a
snort3
package is more appropriate