muting v-add-cron-restart-job in postinst

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

View file

@ -115,7 +115,7 @@ 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
/usr/local/vesta/bin/v-add-cron-restart-job
/usr/local/vesta/bin/v-add-cron-restart-job > /dev/null 2>&1
fi
# Run custom triggers