|
NAMErundeux - run a program with an associated loggerSYNOPSISrundeux [-hV] [-d] [-L label ] [-S sep ] [-x] program <'::'|'sep'> loggerDESCRIPTIONprogram and logger may each be one or more arguments. They are separated by the verbatim string ``::'', or by the sep argument defined with the -S option.rundeux starts program and logger with the stdout of program connected to the stdin of logger. Normally program is intended to be a long-running process, and logger is a program that logs the data it reads on its standard input. Both program and logger should be set up to run under supervision as foreground processes. After starting, rundeux continues to monitor both program and logger. If either process should terminate, rundeux restarts it. When rundeux itself receives any signal it can catch, it passes it on to program with the kill(2) command. If rundeux receives SIGTERM, it flags itself to terminate and initiates a shutdown sequence. It sends SIGTERM and SIGCONT to program and waits for it to terminate. It then closes the stdin of logger and waits for it to terminate. Then rundeux itself exits normally. OPTIONS
SIGNALSWhen rundeux receives any catchable signal, it passes that signal on to the program under its supervision.If rundeux receives SIGTERM, it takes it as a shutdown command and performs the following sequence:
AUTHORWayne Marshall, http://b0llix.net/perp/SEE ALSOruntools_intro(8), runargs(8), runargv0(8), runchoom(8), rundetach(8), runenv(8), runfile(8), runlimit(8), runlock(8), runpause(8), runsession(8), runtool(8), runtrap(8), runuid(8)
Visit the GSP FreeBSD Man Page Interface. |