emilecantin/foreman-export-initscript

Nested Procfiles and foreman calls

Opened this issue · 0 comments

Hi lzgo.. Thank for this excellent gem... i would just like to point out that if you have multiple apps like

<!app-name>
|__ Procfile
|__<!another-app>
|____Procfile

And you export <!app-name>/Procfile, and <!app-name>/Procfile calls foreman (for example worker: foreman -f <!another-app>/Procfile) the export will generate a valid script but the nested Procfiles will not be exported and when you stop the script the nested process forked by <!another-app>/Procfile will not be killed...

Is there any easy way to make you script support this or a better solution for overriding enviroment variables?? I hope i made myself clear...

Thank you!!