2014-04-17 13:00:36 +00:00
|
|
|
.TH RESPAWN 1 ubase-VERSION
|
|
|
|
.SH NAME
|
|
|
|
\fBrespawn\fR - Spawn the given command repeatedly
|
|
|
|
.SH SYNOPSIS
|
2014-04-21 10:48:09 +00:00
|
|
|
\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.
|
2014-04-21 10:48:09 +00:00
|
|
|
.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.
|