mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
Update postinst
This commit is contained in:
parent
4ec64b0191
commit
98dcbbc691
1 changed files with 2 additions and 2 deletions
|
@ -211,8 +211,8 @@ if [ $(systemctl list-unit-files | grep clamav-daemon | grep -c "disabled") -eq
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Making sure mpm_event will stay
|
# Making sure mpm_event will stay
|
||||||
if [ ! -f "/usr/local/vesta/data/upgrades/keeping-mpm-event-2" ]; then
|
if [ ! -f "/usr/local/vesta/data/upgrades/keeping-mpm-event-3" ]; then
|
||||||
touch /usr/local/vesta/data/upgrades/keeping-mpm-event-2
|
touch /usr/local/vesta/data/upgrades/keeping-mpm-event-3
|
||||||
echo "=== scheduling keeping-mpm-event check script"
|
echo "=== scheduling keeping-mpm-event check script"
|
||||||
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
|
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
|
/usr/local/vesta/bin/v-add-cron-restart-job > /dev/null 2>&1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue