mirror of
https://codeberg.org/icewind/haze.git
synced 2026-10-01 16:54:08 +02:00
use supervisorctl restart for haze reload
This commit is contained in:
parent
e7c39f49f7
commit
c947d645a9
1 changed files with 1 additions and 10 deletions
11
src/main.rs
11
src/main.rs
|
|
@ -513,16 +513,7 @@ async fn main() -> Result<ExitCode> {
|
|||
&docker,
|
||||
&cloud.id,
|
||||
"root",
|
||||
vec!["pkill", "php-fpm"],
|
||||
Vec::<String>::new(),
|
||||
Some(stdout()),
|
||||
)
|
||||
.await?;
|
||||
exec(
|
||||
&docker,
|
||||
&cloud.id,
|
||||
"root",
|
||||
vec!["sh", "-c", "php-fpm --fpm-config /etc/php-fpm.conf&"],
|
||||
vec!["supervisorctl", "restart", "php-fpm"],
|
||||
Vec::<String>::new(),
|
||||
Some(stdout()),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue