Skip to content

Commit bc34537

Browse files
author
Till Brehm
committed
Merge branch 'stable-3.1' into 'stable-3.1'
Restore fpm_group owner-ship See merge request ispconfig/ispconfig3!675
2 parents 5741ebc + c6fb15e commit bc34537

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

server/plugins-available/nginx_plugin.inc.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2663,15 +2663,13 @@ private function php_fpm_pool_update ($data, $web_config, $pool_dir, $pool_name,
26632663
unset($tmp);
26642664
} elseif(!file_exists($rh_file)) {
26652665
//OS seems to be not Red Hat'ish
2666-
$tpl->setVar('fpm_group', $web_config['group']);
2666+
$tpl->setVar('fpm_group', $data['new']['system_group']);
26672667
$tpl->setVar('fpm_listen_group', $web_config['group']);
26682668
}
26692669
break;
26702670
}
26712671

2672-
// $tpl->setVar('fpm_group', $web_config['group']);
26732672
$tpl->setVar('fpm_listen_user', $data['new']['system_user']);
2674-
$tpl->setVar('fpm_listen_group', $web_config['group']);
26752673
$tpl->setVar('fpm_domain', $data['new']['domain']);
26762674
$tpl->setVar('pm', $data['new']['pm']);
26772675
$tpl->setVar('pm_max_children', $data['new']['pm_max_children']);

0 commit comments

Comments
 (0)