fb13a55c5d
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.
18 lines
425 B
SYSTEMD
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
|