mirror of
https://github.com/pavel-odintsov/fastnetmon
synced 2024-09-21 04:31:36 +02:00
19 lines
476 B
SYSTEMD
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
|