ubase/respawn.1

19 lines
637 B
Groff
Raw Normal View History

2014-04-17 13:00:36 +00:00
.TH RESPAWN 1 ubase-VERSION
.SH NAME
\fBrespawn\fR - Spawn the given command repeatedly
.SH SYNOPSIS
\fBrespawn\fR [\fB-l\fI fifo\fR] [\fB-d\fI N\fR] \fIcmd\fR [\fIargs...\fR]
2014-04-17 13:00:36 +00:00
.SH DESCRIPTION
\fBrespawn\fR spawns the given \fIcmd\fR in a new session
repeatedly.
.SH OPTIONS
.TP
\fB-d\fR
Set the delay between invocations of \fIcmd\fR. It defaults to 0.
.TP
\fB-l\fR
Listen on the specified \fIfifo\fR for writes. For each write
spawn a new instance of \fIcmd\fR. This can be used in conjunction
with a process supervisor to restart a particular program. The \fB-l\fR
and \fB-d\fR options are incompatible. All writes are discarded.