[vnstat/f16: 2/2] added patch to check for pidfile in /run/vnstat
Adrian Reber
adrian at fedoraproject.org
Thu Dec 22 21:58:16 UTC 2011
commit dbcb38c4d0505cf913aee66732c5870b81cb1535
Author: Adrian Reber <adrian at lisas.de>
Date: Thu Dec 22 22:58:06 2011 +0100
added patch to check for pidfile in /run/vnstat
vnstat.spec | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/vnstat.spec b/vnstat.spec
index 369fcb1..34233b8 100644
--- a/vnstat.spec
+++ b/vnstat.spec
@@ -26,9 +26,8 @@ be used without root permissions. See the webpage for few 'screenshots'.
%setup -q
%patch0 -p1
-# disable maximum bandwidth setting and change pidfile location
-sed -i -e "s,/var/run/,/run/vnstat/,g; \
- s,MaxBandwidth 100,MaxBandwidth 0,g;" \
+# disable maximum bandwidth setting
+sed -i -e "s,MaxBandwidth 100,MaxBandwidth 0,g;" \
cfg/vnstat.conf
# no automatic runlevel
More information about the scm-commits
mailing list