Make php-fpm's max_children configurable
This commit is contained in:
parent
afa5791d07
commit
eb6b05c9db
3 changed files with 14 additions and 9 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue