From 25e6c67af673c9286a4881399db482a5ebc58d46 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Sun, 13 Oct 2024 11:54:15 +0200 Subject: Added config file support for nDPIsrvd * adjusted systemd to make use of those Signed-off-by: Toni Uhlig --- ndpid.conf.example | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ndpid.conf.example') diff --git a/ndpid.conf.example b/ndpid.conf.example index 0d980d4b7..bb7c34978 100644 --- a/ndpid.conf.example +++ b/ndpid.conf.example @@ -7,8 +7,8 @@ # This will work for libpcap as well as with PF_RING. #bpf = udp or tcp -pidfile = /tmp/ndpid.pid -user = nobody +#pidfile = /tmp/ndpid.pid +#user = nobody #group = nogroup #protocols = /path/to/libnDPI/example/protos.txt #categories = /path/to/libnDPI/example/categories.txt @@ -16,7 +16,7 @@ user = nobody #sha1 = /path/to/libnDPI/example/sha1_fingerprints.csv # Collector endpoint as UNIX socket (usually nDPIsrvd) -collector = /var/run/ndpisrvd-collector +collector = /run/nDPIsrvd/collector # Collector endpoint as UDP socket (usually a custom application) #collector = 127.0.0.1:7777 -- cgit v1.2.3