calling v-add-cron-restart-job for keeping-mpm-event check script

This commit is contained in:
myvesta 2020-05-31 02:56:15 +02:00 committed by GitHub
commit 123bae9e61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,7 +113,9 @@ fi
# Making sure mpm_event will stay # Making sure mpm_event will stay
if [ ! -f "/usr/local/vesta/data/upgrades/keeping-mpm-event" ]; then if [ ! -f "/usr/local/vesta/data/upgrades/keeping-mpm-event" ]; then
touch /usr/local/vesta/data/upgrades/keeping-mpm-event 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 >> /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
fi fi
# Run custom triggers # Run custom triggers