From: Gerrit Pape <pape@smarden.org>
Subject: Re: ypserv
Date: Fri, 23 Jul 2004 10:44:34 +0000 [thread overview]
Message-ID: <20040723104437.29858.qmail@865e24add18646.315fe32.mid.smarden.org> (raw)
In-Reply-To: <Pine.LNX.4.58.0407220935370.32355@bigbox.iserve.net.nz>
On Thu, Jul 22, 2004 at 09:39:27AM +1200, Tim Philips wrote:
> I have had a good look on the http://smarden.org/runit/ site for a run
> script to get ypserv running under (djb) supervise. I have done many
> google searches and found nothing of interested, we are using an RPM
> installation of ypserv version 2.8-0.72E.
>
> The man page for ypserv doesn't show it as being able to be run in the
> foreground so I used fghack without luck to attempt to run in.
The ypserv program from ypserv-2.13 provides a -d option to run it in
debug mode, also preventing it from backgrounding. This is not optimal
as, according to the documentation, lots of debug output will be printed
to standard error.
It may be worth to request a ``run in foreground'' switch independently
from running in debug mode; shouldn't be that hard to implement, look
for debug_flag in ypserv/ypserv.c:main(). It might help to point
upstream to this page
http://homepages.tesco.net/~J.deBoynePollard/FGA/unix-daemon-design-mistakes-to-avoid.html
Regards, Gerrit.
prev parent reply other threads:[~2004-07-23 10:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-21 21:39 ypserv Tim Philips
2004-07-21 22:34 ` ypserv Paul Jarc
2004-07-30 23:24 ` ypserv Tim Philips
2004-07-23 10:44 ` Gerrit Pape [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040723104437.29858.qmail@865e24add18646.315fe32.mid.smarden.org \
--to=pape@smarden.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).