diff --git a/lib/configfiles/jessie.xml b/lib/configfiles/jessie.xml
index 1bbb713a..27050f9b 100644
--- a/lib/configfiles/jessie.xml
+++ b/lib/configfiles/jessie.xml
@@ -40,14 +40,14 @@
-
-
//service[@type='http']/general/commands
+
+
{{settings.phpfpm.enabled}}
diff --git a/lib/configfiles/precise.xml b/lib/configfiles/precise.xml
index 54b8fd38..885c3522 100644
--- a/lib/configfiles/precise.xml
+++ b/lib/configfiles/precise.xml
@@ -40,8 +40,6 @@
-
-
@@ -49,6 +47,8 @@
default="true">
//service[@type='http']/general/commands
+
+
{{settings.phpfpm.enabled}}
diff --git a/lib/configfiles/trusty.xml b/lib/configfiles/trusty.xml
index fd961f62..770c93b0 100644
--- a/lib/configfiles/trusty.xml
+++ b/lib/configfiles/trusty.xml
@@ -40,8 +40,6 @@
-
-
@@ -49,6 +47,8 @@
default="true">
//service[@type='http']/general/commands
+
+
{{settings.phpfpm.enabled}}
@@ -83,6 +83,8 @@ Alias "/.well-known/acme-challenge" "{{settings.system.letsencryptchallengepath}
//service[@type='http']/general/commands
+
+
{{settings.phpfpm.enabled}}
diff --git a/lib/configfiles/wheezy.xml b/lib/configfiles/wheezy.xml
index 782c41fb..c3824096 100644
--- a/lib/configfiles/wheezy.xml
+++ b/lib/configfiles/wheezy.xml
@@ -40,8 +40,6 @@
-
-
@@ -49,6 +47,8 @@
default="true">
//service[@type='http']/general/commands
+
+
{{settings.phpfpm.enabled}}
@@ -83,6 +83,8 @@ Alias "/.well-known/acme-challenge" "{{settings.system.letsencryptchallengepath}
//service[@type='http']/general/commands
+
+
{{settings.phpfpm.enabled}}