Added fixes

This commit is contained in:
Alexey Berezhok
2024-05-03 17:39:52 +03:00
parent 3e1db6e3f5
commit c1e7097201
3 changed files with 21 additions and 3 deletions

View File

@@ -1873,7 +1873,7 @@ local_ip="$primary_ipv4"
# Configuring firewall
if [ "$iptables" = 'yes' ]; then
$HESTIA/bin/v-update-firewall
$HESTIA/bin/v-update-firewall iptables
fi
# Get public IP
@@ -1922,7 +1922,7 @@ check_result $? "can't create $servername domain"
export SCHEDULED_RESTART="yes"
command="sudo $HESTIA/bin/v-update-sys-queue restart"
$HESTIA/bin/v-add-cron-job 'admin' '*/2' '*' '*' '*' '*' "$command"
systemctl restart cron
systemctl restart crond
command="sudo $HESTIA/bin/v-update-sys-queue daily"
$HESTIA/bin/v-add-cron-job 'admin' '10' '00' '*' '*' '*' "$command"