Re: having a problem with multilog not shutting down...

"Andy Bradford" <[email protected]> 29 Jan 2013 09:42:02 -0700
Newsgroups gmane.comp.djb.syslog
Message-ID <[email protected]>
Thus said Jeremy Hansen on Tue, 29 Jan 2013 01:09:13 -0800:

> I'm  curious about  your statement  regarding multilog  waiting for  a
> newline. Is this a problem with  the application or is there something
> I can do to test this theory and fix it?

Yes, this would appear to be  a problem with the application. I wouldn't
recommend using  svc -k  unless you  absolutely have  to use  SIGKILL to
kill  off  processes. Wouldn't  it  seem  more  appropriate to  fix  the
application's output if possible?

To  test this  theory,  shutdown  the service  and  run  the run  script
directly on the command line:

svc -d /service/servicename
/service/servicename/run > /tmp/output &
# wait a bit for your service to come up.
kill $!

Wait for  program to exit  and then analyze  /tmp/output to see  if it's
missing a newline.

Andy