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

sv_timeout for RHEL #199

Open
maxwell-gregory opened this issue Jul 19, 2016 · 1 comment
Open

sv_timeout for RHEL #199

maxwell-gregory opened this issue Jul 19, 2016 · 1 comment
Labels
Type: Bug Does not work as expected.

Comments

@maxwell-gregory
Copy link

I am having trouble getting sv_timeout value into the runit command on RHEL node.

I noticed here in the code, the template file is only getting accessed if platform is debian so my sv_timeout attribute is doing nothing.

Here is my chef-client output when attempting a restart command:

  ---- Begin output of /sbin/sv restart /etc/service/graphite-web ----
  STDOUT: timeout: run: /etc/service/graphite-web: (pid 30511) 305s, got TERM
  STDERR:
  ---- End output of /sbin/sv restart /etc/service/graphite-web ----
  Ran /sbin/sv restart /etc/service/graphite-web returned 1

There is no wait time (-w) in the command. Has anyone else experienced this?

@tas50 tas50 added the Type: Bug Does not work as expected. label Mar 7, 2017
@tas50
Copy link
Contributor

tas50 commented Dec 3, 2017

@NoMotion You can probably just add that same bit of logic on RHEL. If you wanted to cut a PR for that I'd gladly merge it in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Does not work as expected.
Projects
None yet
Development

No branches or pull requests

2 participants