| 1 |
[Unit] |
| 2 |
Description=FastNetMon - DoS/DDoS analyzer with sFlow/Netflow/mirror support |
| 3 |
Documentation=man:fastnetmon(8) |
| 4 |
After=network.target remote-fs.target |
| 5 |
|
| 6 |
[Service] |
| 7 |
Type=simple |
| 8 |
ExecStart=/usr/sbin/fastnetmon --log_to_console |
| 9 |
User=fastnetmon |
| 10 |
Group=fastnetmon |
| 11 |
Restart=on-failure |
| 12 |
RestartSec=3 |
| 13 |
LimitNOFILE=65535 |
| 14 |
# We need it to use AF_PACKET and AF_XDP when run under non root user |
| 15 |
AmbientCapabilities=CAP_NET_RAW CAP_IPC_LOCK |
| 16 |
|
| 17 |
[Install] |
| 18 |
WantedBy=multi-user.target |