Skip to content

sv_timeout for RHEL #199

@maxwell-gregory

Description

@maxwell-gregory

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugDoes not work as expected.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions