[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#61146: [PATCH Shepherd] doc: Update user services example for `servi
From: |
Ludovic Courtès |
Subject: |
bug#61146: [PATCH Shepherd] doc: Update user services example for `services already running'. |
Date: |
Sat, 04 Mar 2023 20:51:52 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Hi,
Janneke Nieuwenhuizen <janneke@gnu.org> skribis:
>>From de09ecb16b547830f0df1efc42c78affaaf9c9c4 Mon Sep 17 00:00:00 2001
> From: "Jan (janneke) Nieuwenhuizen" <janneke@gnu.org>
> Date: Sun, 29 Jan 2023 12:05:32 +0100
> Subject: [PATCH Shepherd] doc: Update user services example for `services
> already running'.
>
> The previously suggested example now gives
>
> Services already running, so not daemonizing.
>
> which is fixed by daemonizing right away.
>
> This is a follow-up to commit
> 3197c1c161d10b7f76771a2943f20fdafc5cc14a
> service: 'daemonize' action does nothing when services are already
> running.
>
> * doc/shepherd.texi (Managing User Services): Daemonize before starting
> services.
Applied, thanks!
You’re right that the change in question should have been in ‘NEWS’. I
guess I didn’t realize this could cause problems because in effect
daemonizing after child processes had been started would not work
correctly (shepherd wouldn’t receive SIGCHLD for those.)
Ludo’.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#61146: [PATCH Shepherd] doc: Update user services example for `services already running'.,
Ludovic Courtès <=