mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
php73_to_php74: stopping php7.3 before starting 7.4 should be more robust in case confs are conflicting
This commit is contained in:
parent
f0a01ba25d
commit
9ae7ec5930
1 changed files with 2 additions and 2 deletions
|
@ -87,10 +87,10 @@ class MyMigration(Migration):
|
|||
) # We remove this otherwise the logrotate cron will be unhappy
|
||||
|
||||
# Reload/restart the php pools
|
||||
_run_service_command("restart", "php7.4-fpm")
|
||||
_run_service_command("enable", "php7.4-fpm")
|
||||
os.system("systemctl stop php7.3-fpm")
|
||||
os.system("systemctl disable php7.3-fpm")
|
||||
_run_service_command("restart", "php7.4-fpm")
|
||||
_run_service_command("enable", "php7.4-fpm")
|
||||
|
||||
# Reload nginx
|
||||
_run_service_command("reload", "nginx")
|
||||
|
|
Loading…
Add table
Reference in a new issue