guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] services: Add opensmtpd-service.


From: 宋文武
Subject: Re: [PATCH] services: Add opensmtpd-service.
Date: Sun, 27 Nov 2016 10:22:35 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

> address@hidden (宋文武) skribis:
>
>> Also, I find that my slow box is unable start this opensmtpd service
>> during a fresh boot.  ‘smtpd’ has a timeout of 10s hardcoded, I patched
>> that to 60s to make it fully start.  But it turns out that
>> ‘read-pid-file’ of shepherd has a timeout of 5s, so I guess that’s why
>> the service is marked as stop when it actually running…
>
> Oh that sounds like a bug: shepherd should kill(2) the process when the
> PID file doesn’t show up on time.
>
> Fixed in commit a8fa86bb23cc457e2cd603ad505c964bc8dc889e of the
> Shepherd.
>
> The previous commit allows you to select a timeout other than 5 seconds
> too—wonderful.  ;-)
>

Cool, thanks!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]