Skip to content

Commit

Permalink
fix(php): daemonize overmind
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Jul 12, 2024
1 parent b8880ae commit 8916920
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion php/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ 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"])?
.with_exec(vec!["overmind", "start", "-f", "Procfile", "--daemonize"])?
.with_exec(vec!["sleep", "2"])?
.with_exec(vec!["overmind", "status"])?
.stdout()?;
Ok(stdout)
Expand Down

0 comments on commit 8916920

Please sign in to comment.