mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Remove the logrotate for php5-fpm
This commit is contained in:
parent
18330ab042
commit
0f6d4de8e4
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ class MyMigration(Migration):
|
|||
# Reload/restart the php pools
|
||||
_run_service_command("restart", "php7.0-fpm")
|
||||
os.system("systemctl stop 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
|
||||
nginx_conf_files = glob.glob("/etc/nginx/conf.d/*.d/*.conf")
|
||||
|
|
Loading…
Add table
Reference in a new issue