1
0
Fork 0
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:
Robin Appelman 2026-09-20 11:24:20 +02:00
commit c947d645a9

View file

@ -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()),
)