RE: multilog error logging dnscache - supervise don't run

"Peter Wolfenden" <[email protected]> Wed, 1 Oct 2008 08:06:42 -0700
Newsgroups gmane.comp.djb.syslog
Message-ID <[email protected]>
I think you're misreading the leading dot in DJB's doc. The shell interprets this to mean "current directory", and in several of DJB's answers the current directory is actually the service directory which you have created for your service.
 
In other words, the idea is to have a subdirectory of /service for each service, e.g. /service/myservice, and to add a log subdirectory under that, e.g. /service/myservice/log.
 
The respective run files would then be at /service/myservice/run and /service/myservice/log/run.
 
Cheers,
 
    Peter

________________________________

From: [email protected] [mailto:[email protected]]
Sent: Wed 10/1/2008 3:34 AM
To: [email protected]
Subject: Re: multilog error logging dnscache - supervise don't run



On 10/1/08, Paul Jarc <[email protected]> wrote:
> /service/log/main isn't supposed to exist at all.  Even /service/log
> isn't supposed to exist at all.

I've created them by mkdir /service/.log/ mkdir/service/.log/run mkdir
/service/.log/main (the last one chown to cruxlog) according to my
understanding of the instructions
http://cr.yp.to/daemontools/faq/create.html#runlog
..Create a ./log subdirectory of the service directory. Create a
/log/run script that runs the logging program. ...

Obviously that wasn't proper way. I'm thanking you in advance for your
response that should show me how to do it. I promise I'll publish
howto-for-dummies at the site I linked in my initial post, with many
cudos to you, once you teach me. Please.


--------------------------------------------------------------------

This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information.  Unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.  Thank you.