morpheus-base

morpheus base system
git clone git://git.2f30.org/morpheus-base.git
Log | Files | Refs

respawn.1 (637B)


      1 .TH RESPAWN 1 ubase-VERSION
      2 .SH NAME
      3 \fBrespawn\fR - Spawn the given command repeatedly
      4 .SH SYNOPSIS
      5 \fBrespawn\fR [\fB-l\fI fifo\fR] [\fB-d\fI N\fR] \fIcmd\fR [\fIargs...\fR]
      6 .SH DESCRIPTION
      7 \fBrespawn\fR spawns the given \fIcmd\fR in a new session
      8 repeatedly.
      9 .SH OPTIONS
     10 .TP
     11 \fB-d\fR
     12 Set the delay between invocations of \fIcmd\fR.  It defaults to 0.
     13 .TP
     14 \fB-l\fR
     15 Listen on the specified \fIfifo\fR for writes.  For each write
     16 spawn a new instance of \fIcmd\fR.  This can be used in conjunction
     17 with a process supervisor to restart a particular program.  The \fB-l\fR
     18 and \fB-d\fR options are incompatible.  All writes are discarded.