This repository was archived by the owner on Nov 23, 2017. It is now read-only.
CHEF-154 runit: add a :down parameter to down services by default#161
Closed
philips wants to merge 1 commit into
Closed
CHEF-154 runit: add a :down parameter to down services by default#161philips wants to merge 1 commit into
philips wants to merge 1 commit into
Conversation
Setting down to true will set the service to non-running by default. To start it up again run: sv start <servicename> This just adds a down file. See the runsv manual: "If the file service/down exists, runsv does not start ./run immediately." http://smarden.org/runit/runsv.8.html
|
Longer term we're looking to implement runit as a LWRP, rather than a definition. http://tickets.opscode.com/browse/CHEF-154 My branch needs to be updated, but it will be the basis of the code for the implementation. |
Contributor
Author
|
How long term are we talking? Is it reasonable to merge this now? |
|
I commented on CHEF-154, we'll incorporate this change in the LWRP. |
|
Hello, This is implemented in my branch for CHEF-154: I'm closing this pull request based on that. Thank you. |
clkao
pushed a commit
to clkao-cookbooks/runit
that referenced
this pull request
Nov 4, 2013
* Via pull request: chef-boneyard/cookbooks#161 Adapted for the LWRP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Setting down to true will set the service to non-running by default. To
start it up again run:
This just adds a down file. See the runsv manual:
"If the file service/down exists, runsv does not start ./run immediately."
http://smarden.org/runit/runsv.8.html