From 0d1c10dc994de1185ac59b04721bc04d8e8e3d9e Mon Sep 17 00:00:00 2001
From: Nick Andriopoulos <nand@hexblot.com>
Date: Tue, 05 Apr 2016 08:55:04 -0400
Subject: [PATCH] Comments out special handling for reloading PHP-FPM on CentOS7, refs #3739
---
server/mods-available/web_module.inc.php | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/server/mods-available/web_module.inc.php b/server/mods-available/web_module.inc.php
index 36e1391..3ba0cfb 100644
--- a/server/mods-available/web_module.inc.php
+++ b/server/mods-available/web_module.inc.php
@@ -269,13 +269,15 @@
$initcommand = '/sbin/start-stop-daemon --stop --signal USR2 --quiet --pidfile /var/run/php5-fpm.pid --name php5-fpm';
}
// And the next workaround, php-fpm reloads in centos 7 downt work as well.
+ /*
if(preg_match('/^ID=centos/m', $tmp) && preg_match('/^VERSION_ID="7"/m', $tmp)) {
$initcommand = 'systemctl restart php-fpm.service';
}
+ */
unset($tmp);
}
}
-
+ /*
if($action == 'reload') {
// And the next workaround, php-fpm reloads in centos 7 downt work as well.
if(file_exists('/etc/os-release')) {
@@ -287,6 +289,7 @@
unset($tmp);
}
}
+ */
}
$retval = array('output' => '', 'retval' => 0);
--
Gitblit v1.9.1