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

Feature request: Send command used on start #37

Closed
joshlopes opened this issue May 26, 2022 · 2 comments
Closed

Feature request: Send command used on start #37

joshlopes opened this issue May 26, 2022 · 2 comments

Comments

@joshlopes
Copy link

Is it possible upon /start also send the command that is going to run? Is useful for when working with multiple instances and servers and I want to know besides description and name what the command really looks like or if there was a change in between.

@bdd
Copy link
Owner

bdd commented May 26, 2022

Would wrapping the command in shell suffice?

e.g. runitor -- sh -c 'set -x; /opt/command --arg1=foo --arg=bar param1 param2'
This would result the first line in the ping body to be: + /opt/command --arg1=foo --arg=bar param1 param2

@bdd
Copy link
Owner

bdd commented May 30, 2022

Feel free to re-open and elaborate if the suggested method above is wouldn't address the described need.

Sending content in the body of "start" ping would split the entries in healthchecks console. It's likely better to emit all the output into the execution report body.

@bdd bdd closed this as completed May 30, 2022
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

No branches or pull requests

2 participants