Run keep_mpm_event.sh with 'background' parameter

This commit is contained in:
myvesta 2020-06-11 15:04:48 +02:00 committed by GitHub
commit 977728c21a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -114,7 +114,7 @@ fi
if [ ! -f "/usr/local/vesta/data/upgrades/keeping-mpm-event" ]; then
touch /usr/local/vesta/data/upgrades/keeping-mpm-event
echo "=== scheduling keeping-mpm-event check script"
echo "bash /usr/local/vesta/upd/keep_mpm_event.sh >> /usr/local/vesta/data/upgrades/keeping-mpm-event.log 2>&1" >> /usr/local/vesta/data/queue/restart.pipe
echo "bash /usr/local/vesta/upd/keep_mpm_event.sh 'background' >> /usr/local/vesta/data/upgrades/keeping-mpm-event.log 2>&1" >> /usr/local/vesta/data/queue/restart.pipe
/usr/local/vesta/bin/v-add-cron-restart-job > /dev/null 2>&1
fi