calling v-delete-cron-restart-job from keep_mpm_event.sh

This commit is contained in:
myvesta 2020-05-31 03:18:13 +02:00 committed by GitHub
parent 9e59d4dff4
commit e79aea271b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,6 +5,7 @@ if [ "$check_grep" -eq 0 ]; then
echo "apt is not running"
echo "cleaning restart.pipe"
sed -i "/keep_mpm_event/d" /usr/local/vesta/data/queue/restart.pipe
/usr/local/vesta/bin/v-delete-cron-restart-job
if [ ! -f "/usr/local/vesta/data/upgrades/keeping-mpm-event-checked" ]; then
touch /usr/local/vesta/data/upgrades/keeping-mpm-event-checked
echo "mpm_event is not checked"