fastnetmon-ng/src/fastnetmon.service.in

18 lines
425 B
SYSTEMD
Raw Permalink Normal View History

2015-03-24 21:16:44 +01:00
[Unit]
Description=FastNetMon - DoS/DDoS analyzer with sflow/netflow/mirror support
Documentation=man:fastnetmon(1)
2015-03-24 21:16:44 +01:00
After=syslog.target network.target remote-fs.target
[Service]
Type=forking
ExecStart=@CMAKE_INSTALL_SBINDIR@/fastnetmon --daemonize
PIDFile=/run/fastnetmon.pid
Restart=on-failure
RestartSec=3
2015-03-24 21:16:44 +01:00
#ExecReload=/bin/kill -s HUP $MAINPID
#ExecStop=/bin/kill -s QUIT $MAINPID
[Install]
WantedBy=multi-user.target