mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-22 06:14:19 -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
|
||||
|
||||
# Making sure mpm_event will stay
|
||||
if [ ! -f "/usr/local/vesta/data/upgrades/keeping-mpm-event-2" ]; then
|
||||
touch /usr/local/vesta/data/upgrades/keeping-mpm-event-2
|
||||
if [ ! -f "/usr/local/vesta/data/upgrades/keeping-mpm-event-3" ]; then
|
||||
touch /usr/local/vesta/data/upgrades/keeping-mpm-event-3
|
||||
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
|
||||
/usr/local/vesta/bin/v-add-cron-restart-job > /dev/null 2>&1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue