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

Ensure /var/run/app_name/ exists when starting #200

Merged
merged 1 commit into from
Mar 22, 2014
Merged

Ensure /var/run/app_name/ exists when starting #200

merged 1 commit into from
Mar 22, 2014

Conversation

nemunaire
Copy link

On Debian, /var/run is a symbolic link to /run which is actually a tmpfs. So after system reboot, the /var/run/app_name directory doesn't exist anymore, leading to the following error:

start-stop-daemon: unable to open pidfile '/var/run/app_name/running.pid' for writing (No such file or directory)

@lightbend-cla-validator

Hi @nemunaire,

Thank you for your contribution! We really value the time you've taken to put this together.

Before we proceed with reviewing this pull request, please sign the Typesafe Contributors License Agreement:

http://typesafe.com/contribute/cla

@nemunaire
Copy link
Author

Typesafe CLA signed on Fri, 21 Mar 2014 10:11:10

@muuki88
Copy link
Contributor

muuki88 commented Mar 21, 2014

LGTM. I will test this and merge it. Thanks :)

muuki88 added a commit that referenced this pull request Mar 22, 2014
Ensure /var/run/app_name/ exists when starting
@muuki88 muuki88 merged commit 2a55a05 into sbt:master Mar 22, 2014
@muuki88 muuki88 added debian and removed bug labels Apr 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants