Update dapostinstall.sh
This commit is contained in:
+6
-2
@@ -228,7 +228,7 @@ echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue
|
||||
cd /usr/local/directadmin/data/templates
|
||||
cp dns_a.conf custom/
|
||||
cd custom
|
||||
perl -pi -e "s/^smtp=\\|IP\\|\n/smtp=\\|IP\\|\n/poczta=\\|IP\\|\n/" dns_a.conf
|
||||
perl -pi -e "s/^smtp=\\|IP\\|\n/smtp=\\|IP\\|\n/poczta=\\|IP\\|\n/" /usr/local/directadmin/data/templates/custom/dns_a.conf
|
||||
|
||||
echo "Instalacja bezpiecznego DMARC"
|
||||
|
||||
@@ -248,8 +248,12 @@ wget 185.242.134.234/hitmemodsec.sh -O /opt/hitmemodsec.sh
|
||||
sh /opt/hitmemodsec.sh
|
||||
rm -f hitmemodsec.sh
|
||||
daupdate antybots
|
||||
daupdate bbmysql
|
||||
cd /opt
|
||||
sh /opt/daupdate bbmysql
|
||||
cd $DAPOSRINSTALL_DIR
|
||||
daupdate klucze
|
||||
daupdate keyput
|
||||
|
||||
|
||||
systemctl restart sshd
|
||||
|
||||
|
||||
Reference in New Issue
Block a user