Skip to content

Commit

Permalink
fix start function
Browse files Browse the repository at this point in the history
fix start function
  • Loading branch information
tsirysndr committed Jul 13, 2024
1 parent db2fc61 commit 976593a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion php/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ pub fn start(_args: String) -> FnResult<String> {
.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)?
Expand Down

0 comments on commit 976593a

Please sign in to comment.