Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (5a34d7c0ede9b5fa53b2a1bfbee5ac9aaaf3a4a5)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (5a34d7c0ede9b5fa53b2a1bfbee5ac9aaaf3a4a5)
  • Date: Tue, 24 Sep 2013 02:36:01 -0500

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

net/monit/DETAILS | 8 ++++----
net/monit/HISTORY | 8 ++++++++
net/monit/INSTALL | 8 ++++++++
net/monit/init.d/monit | 9 +++++++++
4 files changed, 29 insertions(+), 4 deletions(-)

New commits:
commit 5a34d7c0ede9b5fa53b2a1bfbee5ac9aaaf3a4a5
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

monit: => 5.6

diff --git a/net/monit/DETAILS b/net/monit/DETAILS
index ce9f7c1..84d8253 100755
--- a/net/monit/DETAILS
+++ b/net/monit/DETAILS
@@ -1,13 +1,13 @@
SPELL=monit
- VERSION=5.3.1
-
SOURCE_HASH=sha512:22a4fbec5d9fa40098c08d4db65f1b7a864408c80c630e541c55c1a936a5a5e97e7f9f904e28209456b8d29fa23dc55a3573db09a330fc1fd3d52a8763db7065
+ VERSION=5.6
SOURCE="${SPELL}-${VERSION}.tar.gz"
- SOURCE_URL[0]="http://mmonit.com/monit/dist/${SOURCE}";
+ SOURCE_URL[0]="http://mmonit.com/${SPELL}/dist/${SOURCE}";
+
SOURCE_HASH=sha512:36933b6560860eac39421a56726c8748e2ce0f16ee51149828e6ffcb77edf3ce73394c2b58e208f6614712e7c6e0e114bc92e911794503b89793b225199193b8
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
WEB_SITE="http://mmonit.com/monit/";
LICENSE[0]=GPL
KEYWORDS="net"
- SHORT="A utility for monitoring Unix system services"
+ SHORT="utility for monitoring Unix system services"
cat << EOF
Monit is a utility for managing and monitoring processes, files, directories,
and devices on a Unix system. It conducts automatic maintenance and repair
diff --git a/net/monit/HISTORY b/net/monit/HISTORY
index 2e00e44..3c7b5e3 100644
--- a/net/monit/HISTORY
+++ b/net/monit/HISTORY
@@ -1,3 +1,11 @@
+2013-09-24 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: updated source url; short description
+ * INTALL: added, to install default monitrc config with correct perms
+ * init.d/monit: added, init script
+
+2013-09-23 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: updated spell to 5.6
+
2011-11-25 Ladislav Hagara <hgr AT vabo.cz>
* DETAILS: 5.3.1

diff --git a/net/monit/INSTALL b/net/monit/INSTALL
new file mode 100755
index 0000000..e7468af
--- /dev/null
+++ b/net/monit/INSTALL
@@ -0,0 +1,8 @@
+default_install &&
+
+install_config_file "$SOURCE_DIRECTORY/monitrc" \
+ "$INSTALL_ROOT/etc/sysconfig/monitrc" &&
+
+message "${MESSAGE_COLOR}Fixing monitrc permissions...${DEFAULT_COLOR}" &&
+
+chmod 600 "$INSTALL_ROOT/etc/sysconfig/monitrc"
diff --git a/net/monit/init.d/monit b/net/monit/init.d/monit
new file mode 100755
index 0000000..4ef2554
--- /dev/null
+++ b/net/monit/init.d/monit
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+PROGRAM=/sbin/monit
+PIDFILE=/var/run/monit.pid
+ARGS="-c /etc/sysconfig/monitrc -p $PIDFILE"
+RUNLEVEL=3
+NEEDS="+network"
+
+. /etc/init.d/smgl_init



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (5a34d7c0ede9b5fa53b2a1bfbee5ac9aaaf3a4a5), Vlad Glagolev, 09/24/2013

Archive powered by MHonArc 2.6.24.

Top of Page