iyzs...@member.fsf.org (宋文武) 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’.

Reply via email to