Skip to content

Commit 27a5970

Browse files
committed
removed backup.pipe and renamed reseller.conf to child.conf
1 parent de9a773 commit 27a5970

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

bin/v_add_sys_user

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,6 @@ if [ ! -z "$CRON_SYSTEM" ] && [ "$CRON_SYSTEM" != 'no' ]; then
143143
touch $V_USERS/$user/cron.conf
144144
fi
145145

146-
if [ ! -z "$BACKUP_SYSTEM" ] && [ "$BACKUP_SYSTEM" != 'no' ]; then
147-
echo "v_backup_sys_user $user" >> $V_QUEUE/backup.pipe
148-
fi
149-
150146
# Filling user config
151147
echo "FNAME='$fname'
152148
LNAME='$lname'
@@ -172,7 +168,7 @@ DATE='$V_DATE'" > $V_USERS/$user/user.conf
172168
# Filling owner config
173169
ROLE=$(echo "$role" | tr "[:lower:]" "[:upper:]")
174170
if [ "$user" != 'vesta' ]; then
175-
echo "$ROLE='$user'" >> $V_USERS/$owner/reseller.conf
171+
echo "$ROLE='$user'" >> $V_USERS/$owner/child.conf
176172
increase_user_value "$owner" 'U_CHILDS'
177173
fi
178174

bin/v_backup_sys_user

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -368,12 +368,12 @@ if [ -e "$V_USERS/$user/billing.log" ]; then
368368
cp -r $V_USERS/$user/billing.log $tmpdir/vesta/
369369
fi
370370

371-
if [ -e "$V_USERS/$user/reseller.conf" ]; then
371+
if [ -e "$V_USERS/$user/child.conf" ]; then
372372
if [ -z "$output" ]; then
373-
echo -e "\t$(date +%H:%m:%S) reseller.conf"
373+
echo -e "\t$(date +%H:%m:%S) child.conf"
374374
fi
375375

376-
cp -r $V_USERS/$user/reseller.conf $tmpdir/vesta/
376+
cp -r $V_USERS/$user/child.conf $tmpdir/vesta/
377377
fi
378378

379379
if [ -e "$V_USERS/$user/history.log" ]; then

bin/v_upd_sys_queue

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,6 @@ stats_pipe() {
4747
bash $V_QUEUE/stats.pipe
4848
}
4949

50-
backup_pipe() {
51-
bash $V_QUEUE/backup.pipe
52-
}
53-
5450
disk_pipe() {
5551
bash $V_QUEUE/disk.pipe
5652
}

0 commit comments

Comments
 (0)