parent
ab95ab4a4b
commit
c6aabb8cef
|
@ -554,13 +554,16 @@ mkdir -p "/etc/opendkim/keys"
|
||||||
grep -q "^127.0.0.1\$" /etc/opendkim/TrustedHosts || echo "127.0.0.1" >>/etc/opendkim/TrustedHosts
|
grep -q "^127.0.0.1\$" /etc/opendkim/TrustedHosts || echo "127.0.0.1" >>/etc/opendkim/TrustedHosts
|
||||||
grep -q "^localhost\$" /etc/opendkim/TrustedHosts || echo "localhost" >>/etc/opendkim/TrustedHosts
|
grep -q "^localhost\$" /etc/opendkim/TrustedHosts || echo "localhost" >>/etc/opendkim/TrustedHosts
|
||||||
|
|
||||||
|
# Add opendkim to service to restart
|
||||||
|
SERVICES="$SERVICES incron"
|
||||||
|
|
||||||
# hook
|
# hook
|
||||||
run-parts --arg=before-reload /usr/lib/alternc/install.d
|
run-parts --arg=before-reload /usr/lib/alternc/install.d
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
# Reload services
|
# Reload services
|
||||||
#
|
#
|
||||||
for service in postfix bind9 apache2 dovecot cron proftpd opendkim; do
|
for service in postfix bind9 apache2 dovecot cron proftpd ; do
|
||||||
invoke-rc.d $service force-reload || true
|
invoke-rc.d $service force-reload || true
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue