mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
calling v-add-cron-restart-job for keeping-mpm-event check script
This commit is contained in:
parent
6c11c48d26
commit
123bae9e61
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue