From: Tobias Geerinckx-Rice <me@tobias.gr>
To: dthompson2@worcester.edu
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] services: nginx: Actually check if configuration is valid.
Date: Fri, 9 Sep 2016 04:36:26 +0200 [thread overview]
Message-ID: <287ff15a-26df-014f-ab3f-a94950bb1198@tobias.gr> (raw)
In-Reply-To: <CAJ=RwfaHz=xPD_D0reEawJEQL8_a_x8xN6f3FLfNqHybRDkQBA@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 660 bytes --]
Hi Dave,
On 09/09/16 04:29, Thompson, David wrote:
> No, it doesn't. I wrote the nginx service. The config file used is
> part of the g-expression and is absolutely not stateful.
Wait.
nckx@v5 ~$ sudo herd restart nginx
Service nginx has been stopped.
Service nginx has been started.
nckx@v5 ~$ echo syntax error >> ~/nginx/nginx.conf
nckx@v5 ~$ sudo herd restart nginx
Service nginx has been stopped.
Service nginx could not be started.
> I mean that it should throw an error before the system is made active.
> The derivation that builds the service file should fail.
I think that's what I want too :-)
Kind regards,
T G-R
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2016-09-09 2:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-09 2:05 [PATCH] services: nginx: Actually check if configuration is valid Tobias Geerinckx-Rice
2016-09-09 2:09 ` Thompson, David
2016-09-09 2:21 ` Tobias Geerinckx-Rice
2016-09-09 2:29 ` Thompson, David
2016-09-09 2:36 ` Tobias Geerinckx-Rice [this message]
2016-09-09 22:42 ` Ludovic Courtès
2016-09-09 22:41 ` Ludovic Courtès
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=287ff15a-26df-014f-ab3f-a94950bb1198@tobias.gr \
--to=me@tobias.gr \
--cc=dthompson2@worcester.edu \
--cc=guix-devel@gnu.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.