1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

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>
This commit is contained in:
Will Andrews 2000-06-09 21:51:09 +00:00
parent fa423ab860
commit f11dbca392
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=29475
7 changed files with 45 additions and 0 deletions

View File

@ -52,6 +52,7 @@
SUBDIR += manck
SUBDIR += mei
SUBDIR += mkisofs
SUBDIR += monitord
SUBDIR += muse
SUBDIR += no-login
SUBDIR += npadmin

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (monitord-0.1.0.tar.gz) = 4c02100f5be1cb68527bd6af63360ec8

View File

@ -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)

View File

@ -0,0 +1 @@
Service that restarts other standalone services if they terminate

View File

@ -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

View File

@ -0,0 +1,2 @@
etc/monitord.conf
bin/monitord