Ship default configuration /etc/exim/exim.conf as well as a simple procd init script. Enable building with LMTP for better integration with dovecot. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
19 lines
391 B
Bash
19 lines
391 B
Bash
#!/bin/sh /etc/rc.common
|
|
|
|
START=80
|
|
STOP=80
|
|
|
|
USE_PROCD=1
|
|
|
|
start_service() {
|
|
mkdir -p -m 0755 /var/lib/exim
|
|
mkdir -p -m 0755 /var/run/exim
|
|
chmod 0750 /var/lib/exim
|
|
procd_open_instance
|
|
procd_set_param command /usr/sbin/exim
|
|
procd_append_param command -C /etc/exim/exim.conf
|
|
procd_append_param command -bd -q15m
|
|
procd_set_param stdout 1
|
|
procd_set_param stderr 1
|
|
procd_close_instance
|
|
}
|