mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Explicitly enable php7.0-fpm and disable php5-fpm during php migration
This commit is contained in:
parent
d55c029c9b
commit
a895662693
1 changed files with 2 additions and 0 deletions
|
@ -55,7 +55,9 @@ class MyMigration(Migration):
|
|||
|
||||
# Reload/restart the php pools
|
||||
_run_service_command("restart", "php7.0-fpm")
|
||||
_run_service_command("enable", "php7.0-fpm")
|
||||
os.system("systemctl stop php5-fpm")
|
||||
os.system("systemctl disable php5-fpm")
|
||||
os.system("rm /etc/logrotate.d/php5-fpm") # We remove this otherwise the logrotate cron will be unhappy
|
||||
|
||||
# Get list of nginx conf file
|
||||
|
|
Loading…
Add table
Reference in a new issue