Mailinglist Archive: opensuse (2348 mails)

< Previous Next >
RE: [opensuse] Xinetd -d writing to a file?
  • From: "Kain, Becki (B.)" <bkain1@xxxxxxxx>
  • Date: Tue, 1 Apr 2008 16:57:44 -0400
  • Message-id: <4B7EE6C5FCFF304D9A1880844C82AE4607BEDE6F@xxxxxxxxxxxxxxxxxxxxxxxxxx>

----- Original Message -----
From: "Kain, Becki (B.)" <bkain1@xxxxxxxx>
To: <opensuse@xxxxxxxxxxxx>
Sent: Tuesday, April 01, 2008 3:50 PM
Subject: RE: [opensuse] Xinetd -d writing to a file?

nope, it still writes to the screen. It did create the logfile, but
it's 0 length

You never heard of stderr vs stdout?

xinetd -d 2>&1 | tee /path/to/logfile

man bash
man tee


I have, actually, thanks and that doesn't work:

startproc -t 1 $XINETD_BIN -d 2>&1 | tee

In /etc/init.d/xinetd will create the log file, never write to it, and
continues to blast to the screen.

Thanks though, for the reminder of man


To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >