From 976593afe14d2b08c94eedd4219e86c24f865cfe Mon Sep 17 00:00:00 2001 From: Tsiry Sandratraina Date: Sat, 13 Jul 2024 11:48:33 +0000 Subject: [PATCH] fix start function fix start function --- php/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/php/src/lib.rs b/php/src/lib.rs index 6bc30a6..a45266a 100644 --- a/php/src/lib.rs +++ b/php/src/lib.rs @@ -19,7 +19,9 @@ pub fn start(_args: String) -> FnResult { .with_exec(vec!["type", "overmind"])? .with_exec(vec!["type", "php"])? .with_exec(vec!["type", "php-fpm"])? - .with_exec(vec!["overmind start -f Procfile --daemonize || || flox activate -- overmind restart php-fpm"])? + .with_exec(vec![ + "overmind start -f Procfile --daemonize || flox activate -- overmind restart php-fpm", + ])? .with_exec(vec!["sleep", "2"])? .with_exec(vec!["overmind", "status"])? .wait_on(port.parse()?, None)?