EVOLUTION-MANAGER
Edit File: ntopng.service
[Unit] Description=ntopng high-speed web-based traffic monitoring and analysis tool After=network.target syslog.target redis.service pf_ring.service cluster.service mysql.service Requires=redis.service Wants=pf_ring.service cluster.service PartOf=pf_ring.service cluster.service [Service] Type=simple ExecStartPre=/bin/sh -c '/usr/bin/ntopng-utils-manage-config -a check-restore && /usr/bin/ntopng-utils-manage-config -a restore || true' ExecStartPre=/bin/sh -c '/bin/sed "/^[ ]*-e.*$\\|^[ ]*-G.*\\|^[ ]*--daemon.*\\|^[ ]*--pid.*/s/^/#/" /etc/ntopng/ntopng.conf > /run/ntopng.conf' ExecStart=/usr/local/bin/ntopng /run/ntopng.conf ExecStopPost=-/bin/rm -rf /run/ntopng.conf Restart=on-failure RestartSec=5 [Install] WantedBy=multi-user.target Alias=