EVOLUTION-MANAGER
Edit File: cento-ids.service
[Unit] Description=100Gbps IDS NetFlow v5/v9/IPFIX probe for IPv4/v6 After=network.target syslog.target pf_ring.service cluster.service Wants=pf_ring.service cluster.service PartOf=pf_ring.service cluster.service [Service] Type=simple ExecStartPre=/bin/sh -c '/bin/echo "$(/bin/date) cento-ids StartPre" >> /var/log/ntop-systemd.log' ExecStartPre=/bin/sh -c '/bin/sed "/-p.*$\\|--daemon.*\\|--pid-file.*/s/^/#/" /etc/cento/cento-ids.conf > /run/cento-ids.conf' ExecStart=/usr/local/bin/cento-ids /run/cento-ids.conf ExecStartPost=/bin/sh -c '/bin/echo "$(/bin/date) cento-ids StartPost" >> /var/log/ntop-systemd.log' ExecStopPost=-/bin/rm -rf /run/cento-ids.conf ExecStopPost=/bin/sh -c '/bin/echo "$(/bin/date) cento-ids StopPost" >> /var/log/ntop-systemd.log' Restart=on-abnormal RestartSec=5 [Install] WantedBy=multi-user.target