* output of customized control?
@ 2007-03-31 9:31 Jorge Almeida
0 siblings, 0 replies; only message in thread
From: Jorge Almeida @ 2007-03-31 9:31 UTC (permalink / raw)
To: supervision
Quoting the man page for runsv:
If the directory service/log exists, runsv creates a pipe, redirects
service/run's and service/finish's standard output to the pipe, switches to the
directory service/log and starts ./run (and ./finish) exactly as described
above for the service directory. The standard input of the log service is
redirected to read from the pipe.
Question: the redirection is made also for customized control scripts?
Example:
#!/bin/bash
# network/control/t
echo "** Bringing down network..."
exec /etc/sysconfig/network-devices/ifdown eth0
Would the message go the the logfile of the network service?
--
Jorge Almeida
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-03-31 9:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-31 9:31 output of customized control? Jorge Almeida
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).