[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] services: Add opensmtpd-service.
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] services: Add opensmtpd-service. |
Date: |
Sat, 26 Nov 2016 19:33:45 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
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. ;-)
Thanks!
Ludo’.