updated postfix module and fixed CMS motd

This commit is contained in:
2020-10-15 12:20:23 +02:00
parent b475a7f365
commit 8ad35db685
9 changed files with 24 additions and 13 deletions

View File

@@ -41,9 +41,9 @@ chown "$sitename":"$sitename" -R /var/www/"$domain"/html
#Makeing nextcloud Finalize script and setting login Notice
curl --retry 7 --retry-delay 5 -s "$repo"/raw/"$branchtype"/"$branch"/CMS/nextcloud/nextcloud-init.sh -o ~/NextcloudInit-"$sitename".sh
sed -i -e 's/DOMAINname/'$domain'/' -e 's/SITEname/'$sitename'/' ~/NextcloudInit-"$sitename".sh
curl --retry 7 --retry-delay 5 -s "$repo"/raw/"$branchtype"/"$branch"/CMS/nextcloud/MotdNextCloud -o /etc/update-motd.d/51-nextnotice
sed -i -e 's/SITEname/'$sitename'/' /etc/update-motd.d/51-nextnotice
chmod +x /etc/update-motd.d/51-nextnotice
curl --retry 7 --retry-delay 5 -s "$repo"/raw/"$branchtype"/"$branch"/CMS/nextcloud/MotdNextCloud -o /etc/update-motd.d/51-nextnotice-"$sitename"
sed -i -e 's/SITEname/'$sitename'/' /etc/update-motd.d/51-nextnotice-"$sitename"
chmod +x /etc/update-motd.d/51-nextnotice-"$sitename"
#Nextcloud logging location