[fix] touching opendkim files in alternc.instal to prevent failure at install time

This commit is contained in:
Benjamin Sonntag 2014-11-27 16:47:16 +01:00
parent 6b7b5ee2ba
commit ab0c1e6a51
1 changed files with 1 additions and 1 deletions

View File

@ -583,6 +583,7 @@ chown -R alterncpanel:alterncpanel "/usr/share/alternc/panel/"
mkdir -p "/etc/opendkim/keys"
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
touch /etc/opendkim/TrustedHosts /etc/opendkim/SigningTable /etc/opendkim/KeyTable
# Add opendkim to service to restart
SERVICES="$SERVICES opendkim"
@ -631,4 +632,3 @@ unlock_jobs
# Rebuild all web configuration
/usr/lib/alternc/rebuild_all_webconf.sh --force