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

Document use of exec in run hooks #1154

Merged
merged 2 commits into from
Aug 16, 2016
Merged

Document use of exec in run hooks #1154

merged 2 commits into from
Aug 16, 2016

Conversation

mivok
Copy link
Contributor

@mivok mivok commented Aug 15, 2016

This change documents how you need to use exec in run hooks to avoid bad behavior, as well as providing a simple example and suggestions on when you would want to use a run hook instead of $pkg_svc_run. Let me know if the reasons to use a run hook are incorrect and you could do those using $pkg_svc_run instead.

I also fixed a couple of links pointing to the hooks section.

This fixes #989

@thesentinels
Copy link
Contributor

@mivok, thanks for your PR! By analyzing the annotation information on this pull request, we identified @cwebberOps, @davidwrede, @metadave, @stevendanna and @smith to be potential reviewers

@mivok
Copy link
Contributor Author

mivok commented Aug 15, 2016

I spotted the need for a Signed-off-by thing. Fixing now.

mivok added 2 commits August 15, 2016 16:20
Fixes #989

Signed-off-by: Mark Harrison <[email protected]>
Signed-off-by: Mark Harrison <[email protected]>
@bookshelfdave
Copy link
Contributor

@mivok this is great! thank you!

@thesentinels r+

@thesentinels
Copy link
Contributor

📌 Commit 512c5be has been approved by metadave

@thesentinels
Copy link
Contributor

⌛ Testing commit 512c5be with merge f431ebb...

thesentinels pushed a commit that referenced this pull request Aug 15, 2016
Fixes #989

Signed-off-by: Mark Harrison <[email protected]>

Pull request: #1154
Approved by: metadave
thesentinels pushed a commit that referenced this pull request Aug 15, 2016
Signed-off-by: Mark Harrison <[email protected]>

Pull request: #1154
Approved by: metadave
@thesentinels
Copy link
Contributor

💥 Test timed out

@bookshelfdave bookshelfdave merged commit e796d21 into master Aug 16, 2016
@bookshelfdave bookshelfdave deleted the mh/runhook branch August 16, 2016 12:16
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

Successfully merging this pull request may close these issues.

Document required structure of run hook
3 participants