summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-04-12 23:19:55 +0000
committerJeroen Roovers <jer@gentoo.org>2014-04-12 23:19:55 +0000
commit4a7d7177aa979d8c5013b978dd2090c18ccd52d7 (patch)
tree6175f076d3068c819187eb5ab6cf805fc722064f /net-analyzer
parentvanilla-3.13.9 + genpatches-3.13-12 + grsecurity-3.0-3.13.9-201404111815 (diff)
downloadgentoo-2-4a7d7177aa979d8c5013b978dd2090c18ccd52d7.tar.gz
gentoo-2-4a7d7177aa979d8c5013b978dd2090c18ccd52d7.tar.bz2
gentoo-2-4a7d7177aa979d8c5013b978dd2090c18ccd52d7.zip
Replace PIDFILE here too.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/flow-tools/ChangeLog5
-rwxr-xr-xnet-analyzer/flow-tools/files/flowcapture.initd4
2 files changed, 6 insertions, 3 deletions
diff --git a/net-analyzer/flow-tools/ChangeLog b/net-analyzer/flow-tools/ChangeLog
index 68451392de67..918929e89184 100644
--- a/net-analyzer/flow-tools/ChangeLog
+++ b/net-analyzer/flow-tools/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/flow-tools
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/flow-tools/ChangeLog,v 1.67 2014/04/12 20:03:43 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/flow-tools/ChangeLog,v 1.68 2014/04/12 23:19:55 jer Exp $
+
+ 12 Apr 2014; Jeroen Roovers <jer@gentoo.org> files/flowcapture.initd:
+ Replace PIDFILE here too.
12 Apr 2014; Jeroen Roovers <jer@gentoo.org> files/flowcapture.confd,
files/flowcapture.initd:
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 $?
}