diff --git a/CMS/Backend/conf.sh b/CMS/Backend/conf.sh index 144df72..10662aa 100644 --- a/CMS/Backend/conf.sh +++ b/CMS/Backend/conf.sh @@ -8,7 +8,7 @@ touch /var/log/PhpMyAdmin/PhpMyAdmin_auth.log chown Backend:Backend -R /usr/share/phpmyadmin chown Backend:Backend -R /var/lib/phpmyadmin/tmp chown Backend:Backend -R /var/log/PhpMyAdmin -systemctl reload php"$phpver"-fpm +systemctl reload "$phpFPMService" #Auto disable backends at night echo "0 0 * * * root bash /opt/toggle/toggle-Netdata.sh -d > >/dev/null 2>&1" >> /etc/cron.d/autodisablebackend echo "0 0 * * * root bash /opt/toggle/toggle-PhpMyAdmin.sh -d > >/dev/null 2>&1" >> /etc/cron.d/autodisablebackend \ No newline at end of file diff --git a/CoreModules/generic/conf.sh b/CoreModules/generic/conf.sh index f119e35..febc5d1 100644 --- a/CoreModules/generic/conf.sh +++ b/CoreModules/generic/conf.sh @@ -22,6 +22,7 @@ if [ "$shortdist" = "cent8" ]; then sed -i -e '/tuple/d' -e '/dapp/d' /usr/share/ufw/iptables/user.rules sed -i -e '/tuple/d' -e '/dapp/d' /usr/share/ufw/iptables/user6.rules echo "y" | ufw reset > $OUTPUT 2>&1 + systemctl enable ufw > $OUTPUT 2>&1 fi sed -i '/IPV6=/c\IPV6=yes' /etc/default/ufw