start-stop-daemon with redirection? (boinc / seti@home)
I use an init script which starts and stops the boinc client using the
start-stop-daemon.
[...]
start)
echo -n "Starting $DESC: $NAME"
start-stop-daemon --start --exec $DAEMON --chuid mike --chdir
/home/mike/boinc --pidfile $PIDFILE --make-pidfile --background
echo "."
;;
stop)
echo -n "Stopping $DESC: $NAME"
start-stop-daemon --stop --quiet --pidfile $PIDFILE \
--exec $DAEMON
echo "."
[...]
Usually boinc ($DAEMON) sends status messages to stdout (logins,
transfers, etc.).
Is there a way to redirect these messages to a file? At the moment they
are simple send to /dev/null, so it seems.
Mike
Reply to: