mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Do not save php-fpm services in services.yml
This commit is contained in:
parent
9a3a208809
commit
5d0f8021b8
1 changed files with 6 additions and 0 deletions
|
@ -744,6 +744,12 @@ def _save_services(services):
|
|||
diff = {}
|
||||
|
||||
for service_name, service_infos in services.items():
|
||||
|
||||
# Ignore php-fpm services, they are to be added dynamically by the core,
|
||||
# but not actually saved
|
||||
if service_name.startswith("php") and service_name.endswith("-fpm"):
|
||||
continue
|
||||
|
||||
service_conf_base = conf_base.get(service_name, {}) or {}
|
||||
diff[service_name] = {}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue