nullmailer icon indicating copy to clipboard operation
nullmailer copied to clipboard

Systemd

Open bigntallmike opened this issue 1 year ago • 1 comments

This adds support for systemd's watchdog feature. By adding "WatchdogSec=N" to the [Service] section of nullmailer.service, nullmailer will be restarted by systemd if it hasn't properly checked in after N seconds.

The patch adds a configure option of --enable-systemd for this feature, and changes the select timeout to be half the service-specified timeout.

This may or may not be helpful to anyone else but just in case, here it is.

bigntallmike avatar Jul 22 '22 17:07 bigntallmike

Note: I removed the "AUTH EXTERNAL" patch so it can be dealt with elsewhere.

bigntallmike avatar Jul 25 '22 16:07 bigntallmike