Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Nick Andriopoulos
ISPConfig 3
Commits
0d1c10dc
Commit
0d1c10dc
authored
Apr 05, 2016
by
Nick Andriopoulos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comments out special handling for reloading PHP-FPM on CentOS7, refs #3739
parent
e004715f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
server/mods-available/web_module.inc.php
server/mods-available/web_module.inc.php
+4
-1
No files found.
server/mods-available/web_module.inc.php
View file @
0d1c10dc
...
...
@@ -269,13 +269,15 @@ class web_module {
$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 @@ class web_module {
unset($tmp);
}
}
*/
}
$retval
=
array
(
'output'
=>
''
,
'retval'
=>
0
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment