Switch from geting folder count in /var/www
to using SiteCount variable stored in /etc/ICTM/sites.count,
installer.sh has static 1, AppendCMS gets the file an increments it by one.
Fallback is build in for systems without sites.count
Main, MariaDB:
Switched form MariaDB back to MySQL since it is available for Deb11
Main, Debian 11
Enabled Debian 11 support, and removed warnings
CMS:Backend increased limits
PHP: post_max to 256M
Nginx: client_max_body to 256m and fcgi_timeout to 10 minutes
Added Debian 11 as supported os
Added deb11 to all places were deb10 was in a if statement
Temporarily replaced MySQL with MariaDB,
since the MySQL repo is not yet avalible
Main:Inst Fixed failing to store storing EnabledAons/aonoption
Main:AddCMS renamed option to EnOption to avoid resusing variable
Mod:Postfix Fixed OpenDKIM usermod
If CMS is installed and a sub-module requires to be configured per CMS,
this is handeled by new 'CMSHook-(pre)conf.sh'
this has been added to Dev Docs
Updated postfix sub-module to use new CMSHook
Added 'itype' var for detection of install script type
Now also storeing 'Allways on modules' in installer as EnabledAons
Done because differences between distros is quite big,
and this was the beter solution then using alot of if statements
List of changes:
* Replaced service names php"$phpver"-fpm with $phpFPMService
* Replaced PHPver in package list with phpPkgName
* Replaced full php config path with $phpMainConf
* Replaced php pool path with $phpPoolDir