fastnetmon-ng/src/fastnetmon.service.in
Benjamin Drung fb13a55c5d Add documentation key to systemd service file
Documentation for systemd service files can be automatically viewed
using systemctl help servicename if this field is present. Thus add the
relevant man page, the local and online documentation to the
documentation key.
2017-05-29 16:54:27 +02:00

18 lines
425 B
SYSTEMD

[Unit]
Description=FastNetMon - DoS/DDoS analyzer with sflow/netflow/mirror support
Documentation=man:fastnetmon(1)
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
#ExecReload=/bin/kill -s HUP $MAINPID
#ExecStop=/bin/kill -s QUIT $MAINPID
[Install]
WantedBy=multi-user.target