diff --git a/bin/v-restart-proxy b/bin/v-restart-proxy index 25ab20bf..9fbd8fef 100755 --- a/bin/v-restart-proxy +++ b/bin/v-restart-proxy @@ -50,7 +50,7 @@ if [ -z "$PROXY_SYSTEM" ] || [ "$PROXY_SYSTEM" = 'remote' ]; then fi # Restart system -service $PROXY_SYSTEM restart >/dev/null 2>&1 +service $PROXY_SYSTEM reload >/dev/null 2>&1 if [ $? -ne 0 ]; then send_email_report check_result $E_RESTART "$PROXY_SYSTEM restart failed" diff --git a/web/api/index.php b/web/api/index.php index 3cf0ec2d..c4f59e2f 100644 --- a/web/api/index.php +++ b/web/api/index.php @@ -1,6 +1,6 @@ diff --git a/web/reset/mail/index.php b/web/reset/mail/index.php index bb7faf2d..060958ba 100644 --- a/web/reset/mail/index.php +++ b/web/reset/mail/index.php @@ -1,11 +1,13 @@ '; print_r($_SERVER); exit; $ok=0; $ip=$_SERVER['REMOTE_ADDR']; exec (VESTA_CMD."v-list-sys-ips json", $output, $return_var); @@ -152,7 +154,7 @@ if ((!empty($_POST['email'])) && (!empty($_POST['password'])) && (!empty($_POST[ fclose($fp); exec (VESTA_CMD."v-change-mail-account-password '".$v_user."' ".$v_domain." ".$v_account." ".$v_new_password, $output, $return_var); if ($return_var == 0) { - echo "ok"; + echo "==ok=="; exit; } } diff --git a/web/templates/admin/panel.html b/web/templates/admin/panel.html index 57f377db..80bfdaf1 100644 --- a/web/templates/admin/panel.html +++ b/web/templates/admin/panel.html @@ -8,7 +8,7 @@