[ntop] Fix init file pidfile

jsteffan jsteffan at fedoraproject.org
Mon Nov 26 02:15:31 UTC 2012


commit 3899d449fde6017c93852fe7c1bb71193417c811
Author: Jonathan Steffan <jsteffan at fedoraproject.org>
Date:   Sun Nov 25 19:15:19 2012 -0700

    Fix init file pidfile

 ntop.init |    2 +-
 ntop.spec |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/ntop.init b/ntop.init
index 81f76e3..42043a9 100644
--- a/ntop.init
+++ b/ntop.init
@@ -25,7 +25,7 @@
 # Path to the ntop program
 prog=ntop
 ntop=/usr/sbin/$prog
-pidfile=/var/lib/ntop/ntop.pid
+pidfile=/var/run/$prog.pid
 config=/etc/ntop.conf
  
 
diff --git a/ntop.spec b/ntop.spec
index 67c6c57..cf9e683 100644
--- a/ntop.spec
+++ b/ntop.spec
@@ -1,7 +1,7 @@
 %define _hardened_build 1
 Name:           ntop
 Version:        5.0
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        A network traffic probe similar to the UNIX top command
 Group:          Applications/Internet
 # Confirmed from fedora legal 488717
@@ -239,6 +239,9 @@ fi
 %{_localstatedir}/lib/ntop/rrd
 
 %changelog
+* Sun Nov 25 2012 Jonathan Steffan <jsteffan at fedoraproject.org> - 5.0-5
+- Fix init file pidfile
+
 * Fri Nov 09 2012 Jonathan Steffan <jsteffan at fedoraproject.org> - 5.0-4
 - Add python-mako Requires for region map
 


More information about the scm-commits mailing list