1
0
Fork 0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-05-21 23:46:27 +02:00
fastnetmon-rewritten/src/fastnetmon.service.in

19 lines
476 B
SYSTEMD

[Unit]
Description=FastNetMon - DoS/DDoS analyzer with sFlow/Netflow/mirror support
Documentation=man:fastnetmon(8)
After=network.target remote-fs.target
[Service]
Type=simple
ExecStart=@CMAKE_INSTALL_SBINDIR@/fastnetmon --log_to_console
User=fastnetmon
Group=fastnetmon
Restart=on-failure
RestartSec=3
LimitNOFILE=65535
# We need it to use AF_PACKET and AF_XDP when run under non root user
AmbientCapabilities=CAP_NET_RAW CAP_IPC_LOCK
[Install]
WantedBy=multi-user.target