Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about execution as binary-like #150

Open
Globegitter opened this issue Feb 17, 2017 · 0 comments
Open

Question about execution as binary-like #150

Globegitter opened this issue Feb 17, 2017 · 0 comments

Comments

@Globegitter
Copy link

Globegitter commented Feb 17, 2017

Hi, I want to deploy my node.js app in an isolated environment and nar fits perfectly so far. I have a question though about some of the behaviour when you start the binary-like package e.g. ./myapp-0.1.0-linux-x64.nar then it runs the start command in the package.json which is nice, but my question now how does it work with the process stying in the foreground/backgroun (daeomonizing non deamonizing mode)? I want to manage that binary with supervisor (http://supervisord.org/) but now running into issues because I start the binary directly which then seems to spawn the node process(es) but then supervisor doesn't know about those and has issues killing them amongst others.

I am still testing a few different ways and getting close to having something that works but I was just curios how it works within nar. If you could shed some light around that topic that would be much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant