[fix] touching opendkim files in alternc.instal to prevent failure at install time
This commit is contained in:
parent
6b7b5ee2ba
commit
ab0c1e6a51
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue