Fixed oopsie
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user