Skip to content

Commit c80f12e

Browse files
committed
Merge branch 'master' of github.com:serghey-rodin/vesta
2 parents 0d108c6 + 5e09a91 commit c80f12e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+603
-107
lines changed

bin/v_add_db_host

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ case $type in
6060
new_str="$new_str MAX_DB='$max_db' U_SYS_USERS=''";
6161
new_str="$new_str U_DB_BASES='0' ACTIVE='yes' DATE='$V_DATE'";;
6262
pgsql) new_str="HOST='$host' USER='$db_user' PASSWORD='$db_password'";
63-
new_str="$new_str PORT='$port' TPL='$tpl'";
63+
new_str="$new_str PORT='$port' TPL='$template'";
6464
new_str="$new_str MAX_USERS='$max_usr' MAX_DB='$max_db'";
6565
new_str="$new_str U_SYS_USERS=''";
6666
new_str="$new_str U_DB_BASES='0' ACTIVE='yes' DATE='$V_DATE'";;

bin/v_add_sys_cron

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ v_str="JOB='$job' MIN='$min' HOUR='$hour' DAY='$day' MONTH='$month"
5959
v_str="$v_str' WDAY='$wday' CMD='$command' SUSPEND='no' DATE='$V_DATE'"
6060

6161
# Adding to crontab
62-
echo "$v_str">>$V_USERS/$user/crontab.conf
62+
echo "$v_str">>$V_USERS/$user/cron.conf
6363

6464
# Sorting jobs by id
6565
sort_cron_jobs

bin/v_add_sys_user

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ echo "v_upd_sys_user_disk $user" >> $V_QUEUE/disk.pipe
118118

119119
if [ ! -z "$WEB_SYSTEM" ] && [ "$WEB_SYSTEM" != 'no' ]; then
120120
mkdir $V_USERS/$user/cert
121-
touch $V_USERS/$user/web_domains.conf
121+
touch $V_USERS/$user/web.conf
122122
echo "v_upd_web_domains_traff $user" >> $V_QUEUE/traffic.pipe
123123
echo "v_upd_web_domains_disk $user" >> $V_QUEUE/disk.pipe
124124
fi
@@ -140,7 +140,7 @@ if [ ! -z "$DB_SYSTEM" ] && [ "$DB_SYSTEM" != 'no' ]; then
140140
fi
141141

142142
if [ ! -z "$CRON_SYSTEM" ] && [ "$CRON_SYSTEM" != 'no' ]; then
143-
touch $V_USERS/$user/crontab.conf
143+
touch $V_USERS/$user/cron.conf
144144
fi
145145

146146
if [ ! -z "$BACKUP_SYSTEM" ] && [ "$BACKUP_SYSTEM" != 'no' ]; then

bin/v_add_web_domain

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,11 @@ v_str="$v_str TPL='$template'"
183183
v_str="$v_str ALIAS='$aliases'"
184184
v_str="$v_str $template_data" # Inserting PHP,CGI and ELOG keys
185185
v_str="$v_str STATS='' STATS_AUTH=''"
186-
v_str="$v_str SSL='no' SSL_HOME='' SSL_CERT=''"
186+
v_str="$v_str SSL_HOME='' SSL_CERT=''"
187187
v_str="$v_str NGINX='' NGINX_EXT='' SUSPEND='no' DATE='$V_DATE'"
188188

189189
# Registering domain
190-
echo "$v_str" >>$V_USERS/$user/web_domains.conf
190+
echo "$v_str" >>$V_USERS/$user/web.conf
191191

192192
# Adding task to the vesta pipe
193193
restart_schedule 'web'

0 commit comments

Comments
 (0)