1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-11 15:40:31 +02:00
Files
guix/gnu/services
Ludovic Courtès c7cb771cf4 services: nginx: Fix ‘stop’ in cases where a custom config file is passed.
Previously, when the ‘file’ field of ‘nginx-configuration’ was true, the PID
file would be unknown; thus, the ‘start’ method would return #t and the ‘stop’
method would eventually fail with a type error because it would receive #t
instead of a process.

This fixes it by changing ‘stop’ to invoke “nginx -s stop” when the service’s
value is not a process.

* gnu/services/web.scm (nginx-shepherd-service): In ‘stop’, change to invoke
“nginx -s stop” when ‘value’ is not a process.

Fixes: guix/guix#7061
Reported-by: Dan Littlewood
Change-Id: I20ff065ecd2c64e5fc98f59c25d91b300bc7b4cd
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #7543
2026-04-07 13:26:20 +02:00
..
2025-12-03 14:38:09 +09:00
2026-03-19 07:37:06 +01:00
2025-12-03 14:38:09 +09:00
2026-01-06 22:00:50 +09:00
2026-03-07 22:28:01 +01:00
2026-03-09 23:17:24 +01:00
2026-03-29 08:59:52 -07:00
2025-11-16 10:21:52 -08:00
2026-01-27 11:46:03 +01:00