We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2d10e2 commit ba5090cCopy full SHA for ba5090c
bin/v_update_sys_queue
@@ -24,10 +24,13 @@ source $VESTA/conf/vars.conf
24
source $V_CONF/vesta.conf
25
source $V_FUNC/shared.func
26
27
+# Export PATH for cron
28
+PATH=$PATH:$V_BIN
29
+
30
# Defining pipe functions
31
restart_pipe() {
32
for service in $(cat $V_QUEUE/restart.pipe |awk '!x[$0]++'); do
- $V_BIN/v_restart_$service
33
+ v_restart_$service
34
done
35
echo > $V_QUEUE/restart.pipe
36
}
@@ -47,7 +50,7 @@ traff_pipe() {
47
50
backup_pipe() {
48
51
for user in $(cat $V_QUEUE/backup.pipe |awk '!x[$0]++' ); do
49
52
sed -i "/^$user$/d" $V_QUEUE/backup.pipe
- bash $V_BIN/v_backup_user $user
53
+ v_backup_user $user
54
# Send notification to user
55
56
0 commit comments