Make php-fpm's max_children configurable

This commit is contained in:
Adrian Heine 2019-12-06 13:11:09 +01:00
parent afa5791d07
commit eb6b05c9db
3 changed files with 14 additions and 9 deletions

View file

@ -24,9 +24,10 @@ impl<S: AsRef<str>, C: CommandRunner> Symbol for ReloadService<'_, S, C> {
}
fn execute(&self) -> Result<(), Box<dyn Error>> {
self
.command_runner
.run_successfully("systemctl", args!["reload-or-restart", self.service.as_ref()])
self.command_runner.run_successfully(
"systemctl",
args!["reload-or-restart", self.service.as_ref()],
)
}
fn as_action<'b>(&'b self, runner: &'b dyn SymbolRunner) -> Box<dyn Action + 'b> {