Skip to content

Commit

Permalink
Instead of OVERMIND_WORKER_NAME export PS env var for foreman com…
Browse files Browse the repository at this point in the history
…patibility
  • Loading branch information
Envek committed Mar 5, 2024
1 parent d1d6880 commit 1d61b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func (c *command) createScriptFile(e *procfileEntry, shell string, setPort bool)
if setPort {
fmt.Fprintf(scriptFile, "export PORT=%d\n", e.Port)
}
fmt.Fprintf(scriptFile, "export OVERMIND_WORKER_NAME=%s\n", e.Name)
fmt.Fprintf(scriptFile, "export PS=%s\n", e.Name)
fmt.Fprintln(scriptFile, e.Command)

utils.FatalOnErr(scriptFile.Chmod(0744))
Expand Down

0 comments on commit 1d61b7d

Please sign in to comment.