diff options
author | will <will@FreeBSD.org> | 2000-06-10 05:51:09 +0800 |
---|---|---|
committer | will <will@FreeBSD.org> | 2000-06-10 05:51:09 +0800 |
commit | 261785dcc9c63d209200224a091f7f99e1c4b245 (patch) | |
tree | 0ccda0fbdc32b1c57feef25b512298294cd19602 /sysutils/monitord | |
parent | 5f62e435c4e414ab06e915950eed7a01c74bff9d (diff) | |
download | freebsd-ports-graphics-261785dcc9c63d209200224a091f7f99e1c4b245.tar.gz freebsd-ports-graphics-261785dcc9c63d209200224a091f7f99e1c4b245.tar.zst freebsd-ports-graphics-261785dcc9c63d209200224a091f7f99e1c4b245.zip |
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>
Diffstat (limited to 'sysutils/monitord')
-rw-r--r-- | sysutils/monitord/Makefile | 17 | ||||
-rw-r--r-- | sysutils/monitord/distinfo | 1 | ||||
-rw-r--r-- | sysutils/monitord/files/patch-aa | 17 | ||||
-rw-r--r-- | sysutils/monitord/pkg-comment | 1 | ||||
-rw-r--r-- | sysutils/monitord/pkg-descr | 6 | ||||
-rw-r--r-- | sysutils/monitord/pkg-plist | 2 |
6 files changed, 44 insertions, 0 deletions
diff --git a/sysutils/monitord/Makefile b/sysutils/monitord/Makefile new file mode 100644 index 00000000000..af4757215f6 --- /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 00000000000..72207827103 --- /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 00000000000..503db350392 --- /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 00000000000..6c9c08cd717 --- /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 00000000000..10c4b9195a9 --- /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 00000000000..6926e2af1dd --- /dev/null +++ b/sysutils/monitord/pkg-plist @@ -0,0 +1,2 @@ +etc/monitord.conf +bin/monitord |