* bug#28776: guix system reconfigure does not update path to nginx configuration
@ 2017-10-10 9:37 Oleg Pykhalov
2017-10-10 10:47 ` Clément Lassieur
0 siblings, 1 reply; 4+ messages in thread
From: Oleg Pykhalov @ 2017-10-10 9:37 UTC (permalink / raw)
To: 28776
Hello Guix,
After changing config.scm, herd restarts NGINX with previous (on boot)
configuration (checked with ps). So to apply a new NGINX configuration
to a system, reboot is required.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#28776: guix system reconfigure does not update path to nginx configuration
2017-10-10 9:37 bug#28776: guix system reconfigure does not update path to nginx configuration Oleg Pykhalov
@ 2017-10-10 10:47 ` Clément Lassieur
2017-10-10 10:58 ` Oleg Pykhalov
0 siblings, 1 reply; 4+ messages in thread
From: Clément Lassieur @ 2017-10-10 10:47 UTC (permalink / raw)
To: Oleg Pykhalov; +Cc: 28776
Hi Oleg,
Oleg Pykhalov <go.wigust@gmail.com> writes:
> After changing config.scm, herd restarts NGINX with previous (on boot)
> configuration (checked with ps). So to apply a new NGINX configuration
> to a system, reboot is required.
Quoting Ludovic from:
https://lists.gnu.org/archive/html/guix-patches/2017-05/msg00669.html
--8<---------------cut here---------------start------------->8---
Currently ‘guix system reconfigure’ (specifically
‘upgrade-shepherd-services’) reloads and starts all services that are
currently stopped, on the grounds that it would not be safe/desirable to
simply stop any running service.
--8<---------------cut here---------------end--------------->8---
So if you want NGINX to start with its new configuration, you need to
stop it before doing the 'guix system reconfigure'.
Clément
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#28776: guix system reconfigure does not update path to nginx configuration
2017-10-10 10:47 ` Clément Lassieur
@ 2017-10-10 10:58 ` Oleg Pykhalov
2017-10-11 13:25 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Oleg Pykhalov @ 2017-10-10 10:58 UTC (permalink / raw)
To: Clément Lassieur; +Cc: 28776
Hello Clement,
Clément Lassieur <clement@lassieur.org> writes:
> Oleg Pykhalov <go.wigust@gmail.com> writes:
>
>> After changing config.scm, herd restarts NGINX with previous (on boot)
>> configuration (checked with ps). So to apply a new NGINX configuration
>> to a system, reboot is required.
>
> Quoting Ludovic from:
> https://lists.gnu.org/archive/html/guix-patches/2017-05/msg00669.html
>
> Currently ‘guix system reconfigure’ (specifically
> ‘upgrade-shepherd-services’) reloads and starts all services that are
> currently stopped, on the grounds that it would not be safe/desirable to
> simply stop any running service.
>
> So if you want NGINX to start with its new configuration, you need to
> stop it before doing the 'guix system reconfigure'.
Thank you for giving a direction! I actually tried to make 'sudo herd
restart nginx' after reconfigure, but apparently it's wrong.
I'm not sure if we need to close this bug. It wasn't obvious to
me that it related to subject “Allow services to implement a 'reload'
action”, because I tried to reload it manually :-)
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#28776: guix system reconfigure does not update path to nginx configuration
2017-10-10 10:58 ` Oleg Pykhalov
@ 2017-10-11 13:25 ` Ludovic Courtès
0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2017-10-11 13:25 UTC (permalink / raw)
To: Oleg Pykhalov; +Cc: 28776, Clément Lassieur
Hi Oleg,
Oleg Pykhalov <go.wigust@gmail.com> skribis:
> Clément Lassieur <clement@lassieur.org> writes:
[...]
>> Quoting Ludovic from:
>> https://lists.gnu.org/archive/html/guix-patches/2017-05/msg00669.html
>>
>> Currently ‘guix system reconfigure’ (specifically
>> ‘upgrade-shepherd-services’) reloads and starts all services that are
>> currently stopped, on the grounds that it would not be safe/desirable to
>> simply stop any running service.
>>
>> So if you want NGINX to start with its new configuration, you need to
>> stop it before doing the 'guix system reconfigure'.
>
> Thank you for giving a direction! I actually tried to make 'sudo herd
> restart nginx' after reconfigure, but apparently it's wrong.
>
> I'm not sure if we need to close this bug. It wasn't obvious to
> me that it related to subject “Allow services to implement a 'reload'
> action”, because I tried to reload it manually :-)
The behavior of ‘reconfigure’ is not ideal, which is why Clément started
working on improving it.
However, what you report here is intended, so I’ll just close as
“not-a-bug”.
Thank you,
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-10-11 13:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-10 9:37 bug#28776: guix system reconfigure does not update path to nginx configuration Oleg Pykhalov
2017-10-10 10:47 ` Clément Lassieur
2017-10-10 10:58 ` Oleg Pykhalov
2017-10-11 13:25 ` Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).