Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
multipipe(1)		     General Commands Manual		    multipipe(1)

NAME
     multipipe - supervise an pipeline of commands

SYNOPSIS
     multipipe [ directory ]

DESCRIPTION
     multipipe starts one supervise process for each subdirectory of the current
     directory.   multipipe  skips  subdirectory names starting with dots.  Each
     supervised processes is piped a copy of standard input sent to multipipe.

     Every five seconds, multipipe checks for subdirectories again.  If it  sees
     a	new  subdirectory, it starts a new supervise process.  If a subdirectory
     is removed, it closes the pipe to that supervise process.	Directory  named
     supervise or with names starting with a period are ignored.

     If  multipipe  is given a command-line argument, it switches to that direc-
     tory when it starts.

     If multipipe is sent either the INT,  QUIT,  or  the  TERM  signal,  or  it
     reaches  end  of file on standard input, it runs svc -dx on each command to
     shut it down, and waits for it to exit.

RETURN VALUE
     Exits 0 when all the commands are shut down.

SEE ALSO
     supervise, svscan

								    multipipe(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=multipipe&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help