summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-06-09 21:51:09 +0000
committerwill <will@FreeBSD.org>2000-06-09 21:51:09 +0000
commit261785dcc9c63d209200224a091f7f99e1c4b245 (patch)
tree0ccda0fbdc32b1c57feef25b512298294cd19602
parent5f62e435c4e414ab06e915950eed7a01c74bff9d (diff)
downloadFreeBSD-ports-261785dcc9c63d209200224a091f7f99e1c4b245.zip
FreeBSD-ports-261785dcc9c63d209200224a091f7f99e1c4b245.tar.gz
Add monitord, a simple service monitoring daemon that restarts a service
should it go down (gee, does this sound like cron or what?). PR: 19011 Submitted by: Walt M. Shandruk <walt@erudition.net>
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/monitord/Makefile17
-rw-r--r--sysutils/monitord/distinfo1
-rw-r--r--sysutils/monitord/files/patch-aa17
-rw-r--r--sysutils/monitord/pkg-comment1
-rw-r--r--sysutils/monitord/pkg-descr6
-rw-r--r--sysutils/monitord/pkg-plist2
7 files changed, 45 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 9e2edd7..e3ab164 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -52,6 +52,7 @@
SUBDIR += manck
SUBDIR += mei
SUBDIR += mkisofs
+ SUBDIR += monitord
SUBDIR += muse
SUBDIR += no-login
SUBDIR += npadmin
diff --git a/sysutils/monitord/Makefile b/sysutils/monitord/Makefile
new file mode 100644
index 0000000..af47572
--- /dev/null
+++ b/sysutils/monitord/Makefile
@@ -0,0 +1,17 @@
+# New ports collection makefile for: monitord
+# Date created: June 5, 2000
+# Whom: walt
+#
+# $FreeBSD$
+#
+
+PORTNAME= monitord
+PORTVERSION= 0.1.0
+CATEGORIES= sysutils
+MASTER_SITES= ftp://ftp.erudition.net/pub/monitord/
+
+MAINTAINER= walt@erudition.net
+
+MAN8= monitord.8
+
+.include <bsd.port.mk>
diff --git a/sysutils/monitord/distinfo b/sysutils/monitord/distinfo
new file mode 100644
index 0000000..7220782
--- /dev/null
+++ b/sysutils/monitord/distinfo
@@ -0,0 +1 @@
+MD5 (monitord-0.1.0.tar.gz) = 4c02100f5be1cb68527bd6af63360ec8
diff --git a/sysutils/monitord/files/patch-aa b/sysutils/monitord/files/patch-aa
new file mode 100644
index 0000000..503db35
--- /dev/null
+++ b/sysutils/monitord/files/patch-aa
@@ -0,0 +1,17 @@
+--- Makefile Mon Jun 5 01:37:50 2000
++++ Makefile.new Fri Jun 9 17:48:47 2000
+@@ -1,4 +1,4 @@
+-CC = gcc
++CC ?= gcc
+ INSTALL = install
+
+ SOURCES = monitord.c
+@@ -13,7 +13,7 @@
+
+ .c.o:
+
+- $(CC) -O3 -c -pipe -Wall $<
++ $(CC) $(CFLAGS) -c -pipe -Wall $<
+
+ $(TARGET): $(OBJECTS)
+ $(CC) $(OBJECTS) -o $(TARGET)
diff --git a/sysutils/monitord/pkg-comment b/sysutils/monitord/pkg-comment
new file mode 100644
index 0000000..6c9c08c
--- /dev/null
+++ b/sysutils/monitord/pkg-comment
@@ -0,0 +1 @@
+Service that restarts other standalone services if they terminate
diff --git a/sysutils/monitord/pkg-descr b/sysutils/monitord/pkg-descr
new file mode 100644
index 0000000..10c4b91
--- /dev/null
+++ b/sysutils/monitord/pkg-descr
@@ -0,0 +1,6 @@
+This port allows one to monitor other standalone services and automatically
+restart them if they are accidentally and unwittingly terminated, or crash
+either because of instability or a DoS attack.
+
+- Walt
+walt@erudition.net
diff --git a/sysutils/monitord/pkg-plist b/sysutils/monitord/pkg-plist
new file mode 100644
index 0000000..6926e2a
--- /dev/null
+++ b/sysutils/monitord/pkg-plist
@@ -0,0 +1,2 @@
+etc/monitord.conf
+bin/monitord
OpenPOWER on IntegriCloud