respawn.1 (625B)
1 .Dd February 2, 2015 2 .Dt RESPAWN 1 3 .Os ubase 4 .Sh NAME 5 .Nm respawn 6 .Nd spawn the given command repeatedly 7 .Sh SYNOPSIS 8 .Nm 9 .Op Fl l Ar fifo 10 .Op Fl d Ar N 11 .Ar cmd Op Ar args... 12 .Sh DESCRIPTION 13 .Nm 14 spawns the given 15 .Ar cmd 16 in a new session repeatedly. 17 .Sh OPTIONS 18 .Bl -tag -width Ds 19 .It Fl d 20 Set the delay between invocations of \fIcmd\fR. It defaults to 0. 21 .It Fl l 22 Listen on the specified 23 .Ar fifo 24 for writes. For each write spawn a new instance of 25 .Ar cmd . 26 This can be used in conjunction with a process supervisor to restart a 27 particular program. The 28 .Fl l 29 and 30 .Fl d 31 options are incompatible. All writes are discarded. 32 .El