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

Add option to totally remove RUNNING_PID management #736

Closed
valdo404 opened this issue Feb 4, 2016 · 3 comments
Closed

Add option to totally remove RUNNING_PID management #736

valdo404 opened this issue Feb 4, 2016 · 3 comments

Comments

@valdo404
Copy link

valdo404 commented Feb 4, 2016

Hi,

as we are using supervisord to manage our play application, we would like to tell the native packager we do not want to use PID management.
How can we do that ?

Best.

@muuki88
Copy link
Contributor

muuki88 commented Feb 4, 2016

I need a bit more information

  • supervisord, does this mean you are running a docker image?
  • If you aren't using docker, which packaging format are you using?
  • have you tried the play config setting -Dconfig.pidfile=/dev/null?

@valdo404
Copy link
Author

valdo404 commented Feb 5, 2016

Hi,

  • we only mean that the process is managed by supervisord, without pid management.
  • We are using zip packaging format
  • We didn't try /dev/null, but it looks like a hack ;) thanks for the tip.

Regards,

@muuki88
Copy link
Contributor

muuki88 commented Feb 6, 2016

If you use the zip packaging format, then the solution you are looking for is the /dev/null setting.
It's documented in the playframework docs, so you can see it as an official hack ;)

Native packager doesn't provide any kind of system-loader or pid-management. We only provide configurations for existing systems like systemd, systemv and upstart.

@muuki88 muuki88 closed this as completed Feb 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants