schedule restore nice and ionice

This commit is contained in:
dpeca 2019-04-05 00:17:00 +02:00 committed by GitHub
parent f969909866
commit 9400592892
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,7 @@ is_backup_scheduled 'restore'
# Adding restore task to the queue
log=$VESTA/log/restore.log
options="'$web' '$dns' '$mail' '$db' '$cron' '$udir'"
echo "$BIN/v-restore-user $user $backup $options yes >> $log 2>&1" >>\
echo "nice -n 19 ionice -c 3 $BIN/v-restore-user $user $backup $options yes >> $log 2>&1" >>\
$VESTA/data/queue/backup.pipe