changeset 343:0d263bcbbfe9

Make sure PHP-FPM service isn't running We still use mod_php, but Remi's packages now recommend the fpm package, which auto-starts the daemon process.
author IBBoard <dev@ibboard.co.uk>
date Wed, 24 Jun 2020 20:04:43 +0100
parents 445aaaf228cc
children 3a104df81e44
files modules/website/manifests/php.pp
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/modules/website/manifests/php.pp	Tue Jun 23 19:41:37 2020 +0100
+++ b/modules/website/manifests/php.pp	Wed Jun 24 20:04:43 2020 +0100
@@ -30,6 +30,11 @@
     ensure => installed,
     tag => 'php-package',
   }
+
+  service { 'php-fpm':
+    ensure => 'stopped',
+    enable => 'false',
+  }
   website::php::extra { $extras: }
 
   file { '/etc/php.d/custom-lockdown.ini':