diff --git a/bin/v_add_db_base b/bin/v_add_db_base index 9bb055b27..c8cadf561 100755 --- a/bin/v_add_db_base +++ b/bin/v_add_db_base @@ -16,6 +16,7 @@ encoding=${7-UTF8} # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/db.func diff --git a/bin/v_add_db_host b/bin/v_add_db_host index d2993c877..968737ae8 100755 --- a/bin/v_add_db_host +++ b/bin/v_add_db_host @@ -18,6 +18,7 @@ template=${8-template1} # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/db.func diff --git a/bin/v_add_dns_domain b/bin/v_add_dns_domain index 28fb4da1a..33e7df2df 100755 --- a/bin/v_add_dns_domain +++ b/bin/v_add_dns_domain @@ -18,6 +18,7 @@ ttl=${7-14400} # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/domain.func diff --git a/bin/v_add_dns_domain_record b/bin/v_add_dns_domain_record index df9b644b2..77f8aef84 100755 --- a/bin/v_add_dns_domain_record +++ b/bin/v_add_dns_domain_record @@ -16,6 +16,7 @@ id=$6 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/domain.func diff --git a/bin/v_add_ssl_certificate b/bin/v_add_ssl_certificate index 8387c36ba..62c7ee3a5 100755 --- a/bin/v_add_ssl_certificate +++ b/bin/v_add_ssl_certificate @@ -11,6 +11,7 @@ ssl=$2 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/cert.func diff --git a/bin/v_add_sys_cron b/bin/v_add_sys_cron index 37a19d3c3..5a9352ce5 100755 --- a/bin/v_add_sys_cron +++ b/bin/v_add_sys_cron @@ -17,6 +17,7 @@ job=$8 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/cron.func diff --git a/bin/v_add_sys_ip b/bin/v_add_sys_ip index 3c46a3f01..0e1d1d625 100755 --- a/bin/v_add_sys_ip +++ b/bin/v_add_sys_ip @@ -15,6 +15,7 @@ ip_name=$6 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/ip.func source $V_FUNC/domain.func # for namehosting diff --git a/bin/v_add_sys_user b/bin/v_add_sys_user index ee4f16fcc..3f8f66745 100755 --- a/bin/v_add_sys_user +++ b/bin/v_add_sys_user @@ -15,6 +15,7 @@ lname=$6 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func diff --git a/bin/v_add_sys_user_reports b/bin/v_add_sys_user_reports index a6babc403..0d4f25e92 100755 --- a/bin/v_add_sys_user_reports +++ b/bin/v_add_sys_user_reports @@ -10,6 +10,7 @@ user=$1 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/cron.func diff --git a/bin/v_backup_sys_user b/bin/v_backup_sys_user index 8efb6dd8b..835c9c640 100755 --- a/bin/v_backup_sys_user +++ b/bin/v_backup_sys_user @@ -11,6 +11,7 @@ output=$2 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/domain.func source $V_FUNC/db.func diff --git a/bin/v_backup_sys_users b/bin/v_backup_sys_users index 877b0044c..ea0b2b480 100755 --- a/bin/v_backup_sys_users +++ b/bin/v_backup_sys_users @@ -12,6 +12,7 @@ source /etc/profile.d/vesta.sh # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func diff --git a/bin/v_change_db_password b/bin/v_change_db_password index bb67fca73..9e7dabdad 100755 --- a/bin/v_change_db_password +++ b/bin/v_change_db_password @@ -12,6 +12,7 @@ db_password=$3 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/db.func diff --git a/bin/v_change_dns_domain_exp b/bin/v_change_dns_domain_exp index 48cd5093c..800152042 100755 --- a/bin/v_change_dns_domain_exp +++ b/bin/v_change_dns_domain_exp @@ -13,6 +13,7 @@ exp=$3 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/domain.func diff --git a/bin/v_change_dns_domain_ip b/bin/v_change_dns_domain_ip index 201b4e5a3..b7e0aaa53 100755 --- a/bin/v_change_dns_domain_ip +++ b/bin/v_change_dns_domain_ip @@ -13,6 +13,7 @@ ip=$3 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/domain.func diff --git a/bin/v_change_dns_domain_record b/bin/v_change_dns_domain_record index f91f24306..65a42183f 100755 --- a/bin/v_change_dns_domain_record +++ b/bin/v_change_dns_domain_record @@ -16,6 +16,7 @@ value=$(idn -t --quiet -u "$6" ) # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/domain.func diff --git a/bin/v_change_dns_domain_soa b/bin/v_change_dns_domain_soa index 03fc313e0..4d7f7e94c 100755 --- a/bin/v_change_dns_domain_soa +++ b/bin/v_change_dns_domain_soa @@ -13,6 +13,7 @@ soa=$3 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/domain.func diff --git a/bin/v_change_dns_domain_tpl b/bin/v_change_dns_domain_tpl index 7ffc5ab19..3deef7006 100755 --- a/bin/v_change_dns_domain_tpl +++ b/bin/v_change_dns_domain_tpl @@ -13,6 +13,7 @@ template=$3 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/domain.func diff --git a/bin/v_change_dns_domain_ttl b/bin/v_change_dns_domain_ttl index 08adb2887..6725d06be 100755 --- a/bin/v_change_dns_domain_ttl +++ b/bin/v_change_dns_domain_ttl @@ -13,6 +13,7 @@ ttl=$3 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/domain.func diff --git a/bin/v_change_sys_config_value b/bin/v_change_sys_config_value index 306678735..b04770ed6 100755 --- a/bin/v_change_sys_config_value +++ b/bin/v_change_sys_config_value @@ -11,6 +11,7 @@ value=${2// /%spc%} # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func diff --git a/bin/v_change_sys_cron_job b/bin/v_change_sys_cron_job index 41ac3a529..f56c0d68d 100755 --- a/bin/v_change_sys_cron_job +++ b/bin/v_change_sys_cron_job @@ -17,6 +17,7 @@ command=$8 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/cron.func diff --git a/bin/v_change_sys_ip_name b/bin/v_change_sys_ip_name index 4694ddee3..d2f07b018 100755 --- a/bin/v_change_sys_ip_name +++ b/bin/v_change_sys_ip_name @@ -11,6 +11,7 @@ ip_name=$2 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/ip.func diff --git a/bin/v_change_sys_ip_owner b/bin/v_change_sys_ip_owner index 003611d70..4ab3b37d2 100755 --- a/bin/v_change_sys_ip_owner +++ b/bin/v_change_sys_ip_owner @@ -11,6 +11,7 @@ ip=$2 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/ip.func diff --git a/bin/v_change_sys_ip_status b/bin/v_change_sys_ip_status index b6947fbb1..220768a8e 100755 --- a/bin/v_change_sys_ip_status +++ b/bin/v_change_sys_ip_status @@ -11,6 +11,7 @@ ip_status=$2 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/ip.func diff --git a/bin/v_change_sys_user_contact b/bin/v_change_sys_user_contact index d12e13662..185434b0e 100755 --- a/bin/v_change_sys_user_contact +++ b/bin/v_change_sys_user_contact @@ -11,6 +11,7 @@ email=$2 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func #----------------------------------------------------------# diff --git a/bin/v_change_sys_user_name b/bin/v_change_sys_user_name index 9a51fad70..86653f037 100755 --- a/bin/v_change_sys_user_name +++ b/bin/v_change_sys_user_name @@ -12,6 +12,7 @@ lname=$3 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func diff --git a/bin/v_change_sys_user_ns b/bin/v_change_sys_user_ns index ccffbc743..198a35ebd 100755 --- a/bin/v_change_sys_user_ns +++ b/bin/v_change_sys_user_ns @@ -18,6 +18,7 @@ ns8=$9 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func diff --git a/bin/v_change_sys_user_package b/bin/v_change_sys_user_package index 06d26f5f5..79b538168 100755 --- a/bin/v_change_sys_user_package +++ b/bin/v_change_sys_user_package @@ -11,6 +11,7 @@ package=$2 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func diff --git a/bin/v_change_sys_user_password b/bin/v_change_sys_user_password index 0ef71b1c7..a0fde1d5b 100755 --- a/bin/v_change_sys_user_password +++ b/bin/v_change_sys_user_password @@ -11,6 +11,7 @@ password=$2 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func diff --git a/bin/v_change_sys_user_shell b/bin/v_change_sys_user_shell index f7687355d..187d97db0 100755 --- a/bin/v_change_sys_user_shell +++ b/bin/v_change_sys_user_shell @@ -11,6 +11,7 @@ shell=$2 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func diff --git a/bin/v_del_db_base b/bin/v_del_db_base index 2608ba100..f15a6fc5e 100755 --- a/bin/v_del_db_base +++ b/bin/v_del_db_base @@ -11,6 +11,7 @@ database=$2 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/db.func diff --git a/bin/v_del_db_dbases b/bin/v_del_db_dbases index 52ae62094..6b9974d8e 100755 --- a/bin/v_del_db_dbases +++ b/bin/v_del_db_dbases @@ -10,6 +10,7 @@ user=$1 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/db.func diff --git a/bin/v_del_db_host b/bin/v_del_db_host index 33c1a7606..7f232b430 100755 --- a/bin/v_del_db_host +++ b/bin/v_del_db_host @@ -11,6 +11,7 @@ host=$2 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/db.func diff --git a/bin/v_del_dns_domain b/bin/v_del_dns_domain index baedc2783..fb8540538 100755 --- a/bin/v_del_dns_domain +++ b/bin/v_del_dns_domain @@ -12,6 +12,7 @@ named_conf=/etc/named.conf # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/domain.func diff --git a/bin/v_del_dns_domain_record b/bin/v_del_dns_domain_record index 92726cbee..835e32cac 100755 --- a/bin/v_del_dns_domain_record +++ b/bin/v_del_dns_domain_record @@ -13,6 +13,7 @@ id=$3 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/domain.func diff --git a/bin/v_del_dns_domains b/bin/v_del_dns_domains index 4d79b1f5b..edfe19af3 100755 --- a/bin/v_del_dns_domains +++ b/bin/v_del_dns_domains @@ -10,6 +10,7 @@ user=$1 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/domain.func diff --git a/bin/v_del_ssl_certificate b/bin/v_del_ssl_certificate index e0c7a57bd..1c20bc4c5 100755 --- a/bin/v_del_ssl_certificate +++ b/bin/v_del_ssl_certificate @@ -11,6 +11,7 @@ ssl=$2 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/cert.func diff --git a/bin/v_del_sys_cron b/bin/v_del_sys_cron index 9e9a1ba5f..b74f365a0 100755 --- a/bin/v_del_sys_cron +++ b/bin/v_del_sys_cron @@ -11,6 +11,7 @@ job=$2 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/cron.func diff --git a/bin/v_del_sys_ip b/bin/v_del_sys_ip index 7d221f414..856b953ac 100755 --- a/bin/v_del_sys_ip +++ b/bin/v_del_sys_ip @@ -10,6 +10,7 @@ ip=$1 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/ip.func source $V_FUNC/domain.func diff --git a/bin/v_del_sys_user b/bin/v_del_sys_user index 18195d149..8ed3b2944 100755 --- a/bin/v_del_sys_user +++ b/bin/v_del_sys_user @@ -10,6 +10,7 @@ user=$1 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/domain.func source $V_FUNC/db.func diff --git a/bin/v_del_sys_user_reports b/bin/v_del_sys_user_reports index b04b6cd00..01bbf3957 100755 --- a/bin/v_del_sys_user_reports +++ b/bin/v_del_sys_user_reports @@ -10,6 +10,7 @@ user=$1 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/cron.func diff --git a/bin/v_get_dns_domain_value b/bin/v_get_dns_domain_value index 06316eb7f..43ab2095c 100755 --- a/bin/v_get_dns_domain_value +++ b/bin/v_get_dns_domain_value @@ -13,6 +13,7 @@ key=$(echo "$3"| tr '[:lower:]' '[:upper:]'|sed -e "s/^/$/") # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/domain.func diff --git a/bin/v_get_sys_user_value b/bin/v_get_sys_user_value index 3e5a255b2..5b5062a8f 100755 --- a/bin/v_get_sys_user_value +++ b/bin/v_get_sys_user_value @@ -11,6 +11,7 @@ key=$(echo "$2"| tr '[:lower:]' '[:upper:]'|sed -e "s/^/$/") # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func diff --git a/bin/v_rebuild_dns_domains b/bin/v_rebuild_dns_domains index 4c00b574e..e207259b2 100755 --- a/bin/v_rebuild_dns_domains +++ b/bin/v_rebuild_dns_domains @@ -10,6 +10,7 @@ user=$1 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/domain.func source $V_FUNC/ip.func diff --git a/bin/v_rebuild_sys_cron b/bin/v_rebuild_sys_cron index 7a5d5a56b..c375e245b 100755 --- a/bin/v_rebuild_sys_cron +++ b/bin/v_rebuild_sys_cron @@ -10,6 +10,7 @@ user=$1 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/cron.func diff --git a/bin/v_restart_cron b/bin/v_restart_cron index f9c7a51b1..cd9980410 100755 --- a/bin/v_restart_cron +++ b/bin/v_restart_cron @@ -4,6 +4,7 @@ # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf crond() { /etc/init.d/crond 'reload' >/dev/null 2>&1 diff --git a/bin/v_restart_dns b/bin/v_restart_dns index 8e3738d08..ca04685b5 100755 --- a/bin/v_restart_dns +++ b/bin/v_restart_dns @@ -6,6 +6,7 @@ source /etc/profile.d/vesta.sh source $VESTA/conf/vesta.conf source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf bind() { /etc/init.d/named reload >/dev/null 2>&1 diff --git a/bin/v_suspend_db_base b/bin/v_suspend_db_base index 6ec3f6fe4..61379a070 100755 --- a/bin/v_suspend_db_base +++ b/bin/v_suspend_db_base @@ -11,6 +11,7 @@ database=$2 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/db.func diff --git a/bin/v_suspend_db_bases b/bin/v_suspend_db_bases index 438e70470..75f21257a 100755 --- a/bin/v_suspend_db_bases +++ b/bin/v_suspend_db_bases @@ -10,6 +10,7 @@ user=$1 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/db.func diff --git a/bin/v_suspend_dns_domain b/bin/v_suspend_dns_domain index 2d54b5416..0a8d4003d 100755 --- a/bin/v_suspend_dns_domain +++ b/bin/v_suspend_dns_domain @@ -12,6 +12,7 @@ domain_idn=$(idn -t --quiet -a "$domain") # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/domain.func diff --git a/bin/v_suspend_dns_domains b/bin/v_suspend_dns_domains index 6bbf192fc..2ad6f05c2 100755 --- a/bin/v_suspend_dns_domains +++ b/bin/v_suspend_dns_domains @@ -10,6 +10,7 @@ user=$1 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/domain.func diff --git a/bin/v_suspend_sys_cron_job b/bin/v_suspend_sys_cron_job index 6ba7d627c..05caede86 100755 --- a/bin/v_suspend_sys_cron_job +++ b/bin/v_suspend_sys_cron_job @@ -11,6 +11,7 @@ job=$2 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/cron.func diff --git a/bin/v_suspend_sys_cron_jobs b/bin/v_suspend_sys_cron_jobs index 3d7240f52..294c80e3d 100755 --- a/bin/v_suspend_sys_cron_jobs +++ b/bin/v_suspend_sys_cron_jobs @@ -10,6 +10,7 @@ user=$1 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/cron.func diff --git a/bin/v_unsuspend_db_base b/bin/v_unsuspend_db_base index 0f39ac8d7..303b8820d 100755 --- a/bin/v_unsuspend_db_base +++ b/bin/v_unsuspend_db_base @@ -11,6 +11,7 @@ database=$2 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/db.func diff --git a/bin/v_unsuspend_db_bases b/bin/v_unsuspend_db_bases index 88c4a0844..d21b2e929 100755 --- a/bin/v_unsuspend_db_bases +++ b/bin/v_unsuspend_db_bases @@ -10,6 +10,7 @@ user=$1 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/db.func diff --git a/bin/v_unsuspend_dns_domain b/bin/v_unsuspend_dns_domain index fc695bc8a..351e6ed49 100755 --- a/bin/v_unsuspend_dns_domain +++ b/bin/v_unsuspend_dns_domain @@ -12,6 +12,7 @@ domain_idn=$(idn -t --quiet -a "$domain") # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/domain.func diff --git a/bin/v_unsuspend_dns_domains b/bin/v_unsuspend_dns_domains index e35f0fa8e..f862d9788 100755 --- a/bin/v_unsuspend_dns_domains +++ b/bin/v_unsuspend_dns_domains @@ -10,6 +10,7 @@ user=$1 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/domain.func diff --git a/bin/v_unsuspend_sys_cron_job b/bin/v_unsuspend_sys_cron_job index 739f65229..bee60fd5b 100755 --- a/bin/v_unsuspend_sys_cron_job +++ b/bin/v_unsuspend_sys_cron_job @@ -11,6 +11,7 @@ job=$2 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/cron.func diff --git a/bin/v_unsuspend_sys_cron_jobs b/bin/v_unsuspend_sys_cron_jobs index 8cd9698bf..170e4e287 100755 --- a/bin/v_unsuspend_sys_cron_jobs +++ b/bin/v_unsuspend_sys_cron_jobs @@ -10,6 +10,7 @@ user=$1 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/cron.func diff --git a/bin/v_upd_db_base_disk b/bin/v_upd_db_base_disk index e4eda0f85..a8f88a0f3 100755 --- a/bin/v_upd_db_base_disk +++ b/bin/v_upd_db_base_disk @@ -11,6 +11,7 @@ database=$2 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/db.func diff --git a/bin/v_upd_db_bases_disk b/bin/v_upd_db_bases_disk index 9d4116429..214ddcc99 100755 --- a/bin/v_upd_db_bases_disk +++ b/bin/v_upd_db_bases_disk @@ -10,6 +10,7 @@ user=$1 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/db.func diff --git a/bin/v_upd_sys_ip b/bin/v_upd_sys_ip index 00cd1f6a7..7aab79ea5 100755 --- a/bin/v_upd_sys_ip +++ b/bin/v_upd_sys_ip @@ -12,7 +12,8 @@ owner=${3-vesta} ip_status=${4-shared} # Importing variables -source $VESTA/conf/vars.conf # include for internal func +source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf # include for internal func source $V_FUNC/shared.func source $V_FUNC/ip.func source $V_FUNC/domain.func diff --git a/bin/v_upd_sys_queue b/bin/v_upd_sys_queue index 139842399..1573a3231 100755 --- a/bin/v_upd_sys_queue +++ b/bin/v_upd_sys_queue @@ -13,6 +13,7 @@ source /etc/profile.d/vesta.sh # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func # Defining pipe functions diff --git a/bin/v_upd_sys_rrd b/bin/v_upd_sys_rrd index fd9d45886..7de8f8f6c 100755 --- a/bin/v_upd_sys_rrd +++ b/bin/v_upd_sys_rrd @@ -13,6 +13,7 @@ source /etc/profile.d/vesta.sh # Importing variables source $VESTA/conf/vars.conf source $V_CONF/vesta.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func # Another workaround for cron enviroment diff --git a/bin/v_upd_sys_rrd_ftp b/bin/v_upd_sys_rrd_ftp index d6873ca94..7a6033293 100755 --- a/bin/v_upd_sys_rrd_ftp +++ b/bin/v_upd_sys_rrd_ftp @@ -13,6 +13,7 @@ rrd_grid=${3-MINUTE:30:HOUR:1:HOUR:4:0:%H:%M} # Importing variables source $VESTA/conf/vars.conf source $V_CONF/vesta.conf +source $V_CONF/vesta.conf #----------------------------------------------------------# diff --git a/bin/v_upd_sys_rrd_httpd b/bin/v_upd_sys_rrd_httpd index a8a5714e3..2d41e11fb 100755 --- a/bin/v_upd_sys_rrd_httpd +++ b/bin/v_upd_sys_rrd_httpd @@ -13,6 +13,7 @@ rrd_grid=${3-MINUTE:30:HOUR:1:HOUR:4:0:%H:%M} # Importing variables source $VESTA/conf/vars.conf source $V_CONF/vesta.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/domain.func diff --git a/bin/v_upd_sys_rrd_la b/bin/v_upd_sys_rrd_la index 0afd1e5ff..be19ddd21 100755 --- a/bin/v_upd_sys_rrd_la +++ b/bin/v_upd_sys_rrd_la @@ -12,6 +12,7 @@ rrd_grid=${3-MINUTE:30:HOUR:1:HOUR:4:0:%H:%M} # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf #----------------------------------------------------------# diff --git a/bin/v_upd_sys_rrd_mem b/bin/v_upd_sys_rrd_mem index 6d39ee888..12356b910 100755 --- a/bin/v_upd_sys_rrd_mem +++ b/bin/v_upd_sys_rrd_mem @@ -12,6 +12,7 @@ rrd_grid=${3-MINUTE:30:HOUR:1:HOUR:4:0:%H:%M} # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf #----------------------------------------------------------# diff --git a/bin/v_upd_sys_rrd_mysql b/bin/v_upd_sys_rrd_mysql index f8c16ab81..144410789 100755 --- a/bin/v_upd_sys_rrd_mysql +++ b/bin/v_upd_sys_rrd_mysql @@ -12,6 +12,7 @@ rrd_grid=${3-MINUTE:30:HOUR:1:HOUR:4:0:%H:%M} # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/db.func diff --git a/bin/v_upd_sys_rrd_net b/bin/v_upd_sys_rrd_net index 8f33a3c3e..7ca46a300 100755 --- a/bin/v_upd_sys_rrd_net +++ b/bin/v_upd_sys_rrd_net @@ -12,6 +12,7 @@ rrd_grid=${3-MINUTE:30:HOUR:1:HOUR:4:0:%H:%M} # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf #----------------------------------------------------------# diff --git a/bin/v_upd_sys_rrd_nginx b/bin/v_upd_sys_rrd_nginx index 36ee58760..1833a5e0f 100755 --- a/bin/v_upd_sys_rrd_nginx +++ b/bin/v_upd_sys_rrd_nginx @@ -12,6 +12,7 @@ rrd_grid=${3-MINUTE:30:HOUR:1:HOUR:4:0:%H:%M} # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf #----------------------------------------------------------# diff --git a/bin/v_upd_sys_rrd_pgsql b/bin/v_upd_sys_rrd_pgsql index ff9bc0dd9..abab6e379 100755 --- a/bin/v_upd_sys_rrd_pgsql +++ b/bin/v_upd_sys_rrd_pgsql @@ -12,6 +12,7 @@ rrd_grid=${3-MINUTE:30:HOUR:1:HOUR:4:0:%H:%M} # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/db.func diff --git a/bin/v_upd_sys_rrd_ssh b/bin/v_upd_sys_rrd_ssh index 6c61ba944..eca98a16b 100755 --- a/bin/v_upd_sys_rrd_ssh +++ b/bin/v_upd_sys_rrd_ssh @@ -13,6 +13,7 @@ rrd_grid=${3-MINUTE:30:HOUR:1:HOUR:4:0:%H:%M} # Importing variables source $VESTA/conf/vars.conf source $V_CONF/vesta.conf +source $V_CONF/vesta.conf #----------------------------------------------------------# diff --git a/bin/v_upd_sys_user_bill b/bin/v_upd_sys_user_bill index 13d6a6691..9c4d3f352 100755 --- a/bin/v_upd_sys_user_bill +++ b/bin/v_upd_sys_user_bill @@ -14,6 +14,7 @@ source /etc/profile.d/vesta.sh # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_FUNC/domain.func diff --git a/bin/v_upd_sys_user_disk b/bin/v_upd_sys_user_disk index ec16c4f5b..2c9c64581 100755 --- a/bin/v_upd_sys_user_disk +++ b/bin/v_upd_sys_user_disk @@ -10,6 +10,7 @@ user=$1 # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func diff --git a/bin/v_upd_sys_vesta b/bin/v_upd_sys_vesta index 51af603ce..62ccb86d5 100755 --- a/bin/v_upd_sys_vesta +++ b/bin/v_upd_sys_vesta @@ -17,6 +17,7 @@ source /etc/profile.d/vesta.sh # Importing variables source $VESTA/conf/vars.conf +source $V_CONF/vesta.conf source $V_FUNC/shared.func source $V_CONF/vesta.conf