[monit/el6] Fix init script to contain the name of the pidfile
Maxim Burgerhout
wzzrd at fedoraproject.org
Sat Jul 14 17:43:29 UTC 2012
commit b5e5d6dd0c23b95eb8b31027f44f9e1396948898
Author: Maxim Burgerhout <maxim at wzzrd.com>
Date: Sat Jul 14 19:43:14 2012 +0200
Fix init script to contain the name of the pidfile
monit-sysv-initscript | 1 +
monit.spec | 5 ++++-
2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/monit-sysv-initscript b/monit-sysv-initscript
index ec0f222..29de19b 100644
--- a/monit-sysv-initscript
+++ b/monit-sysv-initscript
@@ -17,6 +17,7 @@
### Default variables
CONFIG="/etc/monit.conf"
+pidfile="/var/run/monit.pid"
prog="monit"
# Check if requirements are met
diff --git a/monit.spec b/monit.spec
index e42b99a..c43f421 100644
--- a/monit.spec
+++ b/monit.spec
@@ -1,6 +1,6 @@
Name: monit
Version: 5.1.1
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Manages and monitors processes, files, directories and devices
Group: Applications/Internet
@@ -95,6 +95,9 @@ fi
%{_mandir}/man1/monit.1*
%changelog
+* Sat Jul 14 2012 Maxim Burgerhout <wzzrd at fedoraproject.org> - 5.1.1-4
+- Fix init script to contain the name of the pidfile
+
* Wed Jul 11 2012 Maxim Burgerhout <wzzrd at fedoraproject.org> - 5.1.1-3
- Fix init script to use the pidfile instead of the process name to kill the
daemon
More information about the scm-commits
mailing list