commit 10be9d3188fb0ad20b477959717c7f83e7cb9786
parent 4f337f1f6ae698a6cab0e0afe56c60057b3c6dff
Author: Gerrit Pape <pape@smarden.org>
Date: Mon, 21 Oct 2002 15:03:23 +0000
0.7.1.
Diffstat:
9 files changed, 35 insertions(+), 199 deletions(-)
diff --git a/Makefile b/Makefile
@@ -1,6 +1,6 @@
DESTDIR=
-PACKAGE=runit-0.7.0
+PACKAGE=runit-0.7.1
DIRS=doc man etc package src
MANPAGES=runit.8 runit-init.8 runsvdir.8 runsv.8 svwaitdown.8 svwaitup.8 \
utmpset.8 runsvchdir.8 runsvstat.8 runsvctrl.8
diff --git a/debian/changelog b/debian/changelog
@@ -1,3 +1,9 @@
+runit (0.7.1-1) unstable; urgency=low
+
+ * new upstream version.
+
+ -- Gerrit Pape <pape@smarden.org> Mon, 21 Oct 2002 16:51:49 +0200
+
runit (0.7.0-3) unstable; urgency=low
* initial official debian package (closes: #164301).
diff --git a/debian/rules b/debian/rules
@@ -26,10 +26,10 @@ build-arch-stamp:
# Add here command to compile/build the package.
# $(MAKE)
- tar xfzvp runit-0.7.0.tar.gz
+ tar xfzvp runit-0.7.1.tar.gz
( \
- cd admin/runit-0.7.0/src; \
- ln -s runit-0.7.0 runit; mv runit ../..; \
+ cd admin/runit-0.7.1/src; \
+ ln -s runit-0.7.1 runit; mv runit ../..; \
echo 'diet gcc -O2 -Wall' >conf-cc; \
echo 'diet gcc -s -Os -pipe' >conf-ld; \
$(MAKE); \
@@ -73,26 +73,26 @@ install: build
# $(MAKE) install DESTDIR=$(CURDIR)/debian/runit
# runit
- install -m0500 admin/runit-0.7.0/src/runit \
+ install -m0500 admin/runit-0.7.1/src/runit \
$(CURDIR)/debian/runit/sbin/runit
- install -m0500 admin/runit-0.7.0/src/runit-init \
+ install -m0500 admin/runit-0.7.1/src/runit-init \
$(CURDIR)/debian/runit/sbin/runit-init
- install -m0755 admin/runit-0.7.0/src/runsvdir \
+ install -m0755 admin/runit-0.7.1/src/runsvdir \
$(CURDIR)/debian/runit/usr/bin/runsvdir
- install -m0755 admin/runit-0.7.0/src/runsv \
+ install -m0755 admin/runit-0.7.1/src/runsv \
$(CURDIR)/debian/runit/usr/bin/runsv
- install -m0755 admin/runit-0.7.0/src/runsvchdir \
+ install -m0755 admin/runit-0.7.1/src/runsvchdir \
$(CURDIR)/debian/runit/usr/sbin/runsvchdir
- install -m0755 admin/runit-0.7.0/src/svwaitdown \
+ install -m0755 admin/runit-0.7.1/src/svwaitdown \
$(CURDIR)/debian/runit/usr/bin/svwaitdown
- install -m0755 admin/runit-0.7.0/src/svwaitup \
+ install -m0755 admin/runit-0.7.1/src/svwaitup \
$(CURDIR)/debian/runit/usr/bin/svwaitup
- install -m0755 admin/runit-0.7.0/src/utmpset \
+ install -m0755 admin/runit-0.7.1/src/utmpset \
$(CURDIR)/debian/runit/usr/sbin/utmpset
- install -m0755 admin/runit-0.7.0/src/runsvstat \
+ install -m0755 admin/runit-0.7.1/src/runsvstat \
$(CURDIR)/debian/runit/usr/bin/runsvstat
- install -m0755 admin/runit-0.7.0/src/runsvctrl \
+ install -m0755 admin/runit-0.7.1/src/runsvctrl \
$(CURDIR)/debian/runit/usr/bin/runsvctrl
install -m0700 admin/runit/etc/debian/1 \
@@ -125,9 +125,9 @@ binary-arch: build install
# dh_installdebconf -a
dh_installdocs -a
# dh_installexamples -a
- dh_installman -a admin/runit/man/*.8 debian/runsv*.8
+ dh_installman -a admin/runit/man/*.8
# dh_undocumented -a
- dh_installchangelogs -a admin/runit-0.7.0/package/CHANGES
+ dh_installchangelogs -a admin/runit-0.7.1/package/CHANGES
dh_strip -a
# dh_link -a
dh_compress -a
diff --git a/debian/runsvctrl.8 b/debian/runsvctrl.8
@@ -1,108 +0,0 @@
-.TH runsvctrl 8
-.SH NAME
-runsvctrl \- controls a service monitored by
-.BR runsv (8).
-.SH SYNOPSIS
-.B runsvctrl
-.I command
-.I services
-.SH DESCRIPTION
-.I services
-consists of one or more arguments, each argument naming a directory used by
-.BR runsv (8).
-.I command
-is one of up, down, once, pause, cont, hup, alarm, interrupt, 1, 2, term,
-kill, or exit.
-.P
-For each
-.I service
-of
-.IR services ,
-.B runsvctrl
-sends the command
-.I command
-to the
-.IR service ,
-which must be controlled by
-.BR runsv (8).
-.SH COMMANDS
-.TP
-.B up
-If the service is not running, start it. If the service stops, restart it.
-.TP
-.B down
-If the service is running, send it a TERM signal. If ./run exits,
-start ./finish if it exists. After it stops, do not restart service.
-.TP
-.B once
-If the service is not running, start it. Do not restart it if it stops.
-.TP
-.B pause
-If the service is running, send it a STOP signal.
-.TP
-.B cont
-If the service is running, send it a CONT signal.
-.TP
-.B hup
-If the service is running, send it a HUP signal.
-.TP
-.B alarm
-If the service is running, send it a ALRM signal.
-.TP
-.B interrupt
-If the service is running, send it a INT signal.
-.TP
-.B 1
-User-defined 1. If the service is running, send it a USR1 signal.
-.TP
-.B 2
-User-defined 2. If the service is running, send it a USR2 signal.
-.TP
-.B term
-If the service is running, send it a TERM signal.
-.TP
-.B kill
-If the service is running, send it a KILL signal.
-.TP
-.B exit
-If the service is running, send it a TERM signal. Do not restart the
-service. If the service is down, and no log service exists,
-.BR runsv (8)
-exits. If the service is down and a log service exists, send a TERM signal
-to the log service. If the log service is down,
-.BR runsv (8)
-exits. This command is ignored if it is given to
-.IR service /log/supervise/control.
-.P
-.BR runsvctrl
-actually looks only at the first character of
-.IR command .
-.SH EXIT CODES
-.B runsvctrl
-exits 0, if the
-.I command
-was sent successfully to all
-.IR services .
-.P
-For each
-.I service
-that caused an error (e.g. the directory is not controlled by a
-.BR runsv (8)
-process),
-.B runsvctrl
-increases the exit code by one and exits non zero. The maximum is 100.
-.P
-.B runsvctrl
-exits 111 on error.
-.SH SEE ALSO
-runsvstat(8),
-runit(8),
-runit-init(8),
-runsvdir(8),
-runsv(8),
-svwaitdown(8),
-svwaitup(8)
-.P
- http://smarden.org/runit/
-.SH AUTHOR
-Gerrit Pape <pape@smarden.org>
diff --git a/debian/runsvstat.8 b/debian/runsvstat.8
@@ -1,66 +0,0 @@
-.TH runsvstat 8
-.SH NAME
-runsvstat \- prints the status of services monitored by
-.BR runsv (8).
-.SH SYNOPSIS
-.B runsvstat
-[
-.B \-l
-]
-.I services
-.SH DESCRIPTION
-.I services
-consists of one or more arguments, each argument naming a directory.
-.P
-.B runsvstat
-checks for each directory if
-.BR runsv (8)
-is successfully running this
-.IR service ,
-and if so, prints one human-readable line reporting the status of this
-.IR service .
-Optionally
-.BR runsvstat (8)
-prints a second line, also in human-readable format, reporting the status
-of the corresponding
-.I log
-.IR service .
-.SH OPTIONS
-.TP
-.B -l
-log service. Check for each
-.I service
-if there exists a corresponding
-.I log
-.IR service .
-If so, print an additional, indented, line reporting the status of the
-.I log
-.IR service .
-.SH EXIT CODES
-.B runsvstat
-exits 0, if the states of all
-.I services
-were reported successfully.
-.P
-For each
-.I service
-that caused an error (e.g. the directory is not controlled by a
-.BR runsv (8)
-process),
-.B runsvstat
-increases the exit code by one and exits non zero. The maximum is 100.
-.P
-.B runsvstat
-exits 111 on error.
-.SH SEE ALSO
-runsvctrl(8),
-runit(8),
-runit-init(8),
-runsvdir(8),
-runsv(8),
-svwaitdown(8),
-svwaitup(8)
-.P
- http://smarden.org/runit/
-.SH AUTHOR
-Gerrit Pape <pape@smarden.org>
diff --git a/doc/install.html b/doc/install.html
@@ -13,14 +13,14 @@ Check that you have the recent version of
<a href="http://cr.yp.to/daemontools.html">daemontools</a> installed.
<p>
Download
-<a href="runit-0.7.0.tar.gz">runit-0.7.0.tar.gz</a> into <tt>/package</tt>
+<a href="runit-0.7.1.tar.gz">runit-0.7.1.tar.gz</a> into <tt>/package</tt>
and unpack the archive
<pre>
# cd /package
- # gunzip runit-0.7.0.tar
- # tar -xpf runit-0.7.0.tar
- # rm runit-0.7.0.tar
- # cd admin/runit-0.7.0
+ # gunzip runit-0.7.1.tar
+ # tar -xpf runit-0.7.1.tar
+ # rm runit-0.7.1.tar
+ # cd admin/runit-0.7.1
</pre>
Compile and install the <i>runit</i> programs
<pre>
diff --git a/doc/replaceinit.html b/doc/replaceinit.html
@@ -107,7 +107,7 @@ default Unix process no 1 <i>runit</i>.
</pre>
To report success:
<pre>
- # ( uname -a ; cat /etc/runit/[123] ) | mail pape-runit-0.7.0@smarden.org
+ # ( uname -a ; cat /etc/runit/[123] ) | mail pape-runit-0.7.1@smarden.org
</pre>
<hr>
@@ -188,7 +188,7 @@ Use <b>init 6</b> to reboot and <b>init 0</b> to halt a system that runs
<p>
To report success:
<pre>
- # ( uname -a ; cat /etc/runit/[123] ) | mail pape-runit-0.7.0@smarden.org
+ # ( uname -a ; cat /etc/runit/[123] ) | mail pape-runit-0.7.1@smarden.org
</pre>
<h3>Step 5: Service migration</h3>
The goal is to migrate all services from <i>/etc/rc.*</i> scheme to the
diff --git a/package/CHANGES b/package/CHANGES
@@ -1,3 +1,7 @@
+runit 0.7.1
+Mon, 21 Oct 2002 16:50:09 +0200
+ * man/runsv.8, doc/runlevels.html: typos.
+ * runsvctrl.c, runsvstat.c: exit 111 on error.
* runsvdir.c: continue reading directory when stat() on entry fails.
runit 0.7.0
diff --git a/package/upgrade b/package/upgrade
@@ -7,9 +7,9 @@ test -d src || ( echo 'Wrong working directory.'; exit 1 )
here=`env - PATH=$PATH pwd`
parent=`dirname $here`
-echo 'Creating symlink runit -> runit-0.7.0...'
+echo 'Creating symlink runit -> runit-0.7.1...'
rm -f runit
-ln -s runit-0.7.0 runit
+ln -s runit-0.7.1 runit
mv -f runit ..
echo 'Making command links in /command...'