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 pidfile dir on systemv rpm template exists #680

Merged
merged 1 commit into from Oct 25, 2015

Conversation

mcarolan
Copy link
Contributor

On CentOS 7 /run is tmpfs, and /var/run is a symlink to /run.

Upon reboot the /var/run/${{app_name}} directory (created by the RPM)
will be blown away, causing the init script to fail - but still spawn
the service as a side effect.

This change will create the /var/run/${{app_name}} directory if it does
not already exist, and change the owner to $DAEMON_USER.

On CentOS 7 /run is tmpfs, and /var/run is a symlink to /run.

Upon reboot the /var/run/${{app_name}} directory (created by the RPM)
will be blown away, causing the init script to fail - but still spawn
the service as a side effect.

This change will create the /var/run/${{app_name}} directory if it does
not already exist, and change the owner to $DAEMON_USER.
@muuki88 muuki88 added the rpm label Oct 23, 2015
@muuki88
Copy link
Contributor

muuki88 commented Oct 23, 2015

LGTM. Will merge after travis has finished

muuki88 added a commit that referenced this pull request Oct 25, 2015
Ensure pidfile dir on systemv rpm template exists
@muuki88 muuki88 merged commit 34570ac into sbt:master Oct 25, 2015
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.

None yet

2 participants