diff options
Diffstat (limited to 'net-analyzer/flow-tools/files/flowcapture.initd')
-rwxr-xr-x | net-analyzer/flow-tools/files/flowcapture.initd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net-analyzer/flow-tools/files/flowcapture.initd b/net-analyzer/flow-tools/files/flowcapture.initd index 6c78f0fdf99d..54d581908093 100755 --- a/net-analyzer/flow-tools/files/flowcapture.initd +++ b/net-analyzer/flow-tools/files/flowcapture.initd @@ -10,7 +10,7 @@ start() { ebegin "Starting flow-capture" checkpath -d -o flows /run/flows start-stop-daemon --start --user ${USER} --exec /usr/bin/flow-capture \ - --pidfile ${PIDFILE}.${PORT} \ + --pidfile /run/flows/flowcapture.pid.${PORT} \ -- ${FLOW_OPTS} >/dev/null 2>&1 eend $? } @@ -18,6 +18,6 @@ start() { stop() { ebegin "Stopping flow-capture" start-stop-daemon --stop --quiet --exec /usr/bin/flow-capture \ - --pidfile ${PIDFILE}.${PORT} + --pidfile /run/flows/flowcapture.pid.${PORT} eend $? } |