Skip to content

Commit

Permalink
Update sub-server ugroup as well, so that PHP-FPM configs are updated
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Oct 28, 2022
1 parent 84c48b5 commit af5d5ed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions virtual-server-lib-funcs.pl
Original file line number Diff line number Diff line change
Expand Up @@ -14257,6 +14257,9 @@ sub rename_virtual_server
&server_home_directory($sd, $d));
}
if ($group) {
if ($sd->{'ugroup'} eq $sd->{'group'}) {
$sd->{'ugroup'} = $group;
}
$sd->{'group'} = $group;
}
}
Expand Down

0 comments on commit af5d5ed

Please sign in to comment.