From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCHv2] inadyn: fix init script and default config file
Date: Mon, 19 Oct 2015 09:56:26 +0200 [thread overview]
Message-ID: <87k2qj8f6d.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <1445090722-4297-1-git-send-email-thomas.petazzoni@free-electrons.com> (Thomas Petazzoni's message of "Sat, 17 Oct 2015 16:05:22 +0200")
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Hi,
> Changes since v1:
> * Store PID file in /var/run/inadyn.pid instead of
> /var/run/inadyn/inadyn.pid.
> * Use the background functionality of start-stop-daemon instead of
> the one of inadyn itself (suggested by Gustavo)
Didn't Gustavoz suggest the opposite? E.G. to use the inadyn option to
force the background mode on, independently of what the config file
states?
I also see that you are not passing the --syslog option to inadyn, so
log messages go to stdout (which start-stop-daemon redirects to
/dev/null) :/
> +++ b/package/inadyn/inadyn.conf
> @@ -1,11 +1,11 @@
> # Basic configuration file for inadyn
> #
> # /etc/inadyn.conf
> -background
> +pidfile /var/run/inadyn.pid
We should instead use the --pidfile inadyn command line option to
force this as we _REQUIRE_ this for start-stop-daemon.
--
Bye, Peter Korsgaard
prev parent reply other threads:[~2015-10-19 7:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-17 14:05 [Buildroot] [PATCHv2] inadyn: fix init script and default config file Thomas Petazzoni
2015-10-17 20:00 ` Yann E. MORIN
2015-10-18 13:46 ` Thomas Petazzoni
2015-10-18 13:47 ` Thomas Petazzoni
2015-10-19 7:56 ` Peter Korsgaard [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=87k2qj8f6d.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=buildroot@busybox.net \
/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