minit

A small yet feature-complete init (http://fefe.de/minit/)
Log | Files | Refs | README | LICENSE

commit 2147918ce402f7a675121209510f1e9df0447392
parent 50161222425f9a741b2ffab4ed4d3cc9f65cee21
Author: leitner <leitner>
Date:   Fri,  2 Feb 2001 20:45:06 +0000

add CHANGES.

Diffstat:
ACHANGES | 10++++++++++
MMakefile | 3+++
2 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/CHANGES b/CHANGES @@ -0,0 +1,10 @@ +0.4: + add pidfilehack. It will take the first argument as filename for the + PID file (i.e. /var/run/sshd.pid), the second argument as service name + for minit (i.e. ssh) and the rest of the command line is run without + path searching in a child process. The parent process will then + try to open the pidfile several times (for up to 30 seconds), read the + PID off it and run msvc to tell minit the PID of the service. minit + can then track sshd and restart it if necessary. This gross hack does + not work for daemons that do not write a PID file, but there are not + many of those, fortunately. diff --git a/Makefile b/Makefile @@ -34,3 +34,6 @@ install: install minit msvc pidfilehack /usr/sbin test -d /etc/minit || mkdir /etc/minit mkfifo -m 600 /etc/minit/in /etc/minit/out + +tar: clean + cd .. && tar cvvf minit.tar.bz2 minit --use=bzip2 --exclude CVS