From d47c39185b12f7dca8511f21306a8ac23b2cfeb8 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Wed, 11 Nov 2020 08:37:29 +0100 Subject: [PATCH] bundles/php: no need to restart php if just installing the base packages --- bundles/php/metadata.py | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/bundles/php/metadata.py b/bundles/php/metadata.py index c014ffa..8b9ef49 100644 --- a/bundles/php/metadata.py +++ b/bundles/php/metadata.py @@ -16,21 +16,9 @@ def php_packages_with_features(metadata): version = metadata.get('php/version') packages = { - f'php{version}': { - 'triggers': { - f'svc_systemd:php{version}-fpm:restart', - } - }, - f'php{version}-cli': { - 'triggers': { - f'svc_systemd:php{version}-fpm:restart', - } - }, - f'php{version}-fpm': { - 'triggers': { - f'svc_systemd:php{version}-fpm:restart', - } - }, + f'php{version}': {}, + f'php{version}-cli': {}, + f'php{version}-fpm': {}, } for package in metadata.get('php/packages', set()):