chef-cookbooks / runit

Development repository for the Chef Runit Cookbook
https://supermarket.chef.io/cookbooks/runit
Apache License 2.0
106 stars 197 forks source link

sv_timeout default attribute is not working #177

Closed pavannaga closed 8 years ago

pavannaga commented 8 years ago

When I use the runit cookbook to restart the service it fails. I identified that service takes some more time to stop and thereby sv restarts fails after 7seconds of timeout. I wanted to override this timeout by overriding the default attribute sv_timeout, but no luck. I still see the sv command failing to restart

           ================================================================================
   Mixlib::ShellOut::ShellCommandFailed
   ------------------------------------
   Expected process to exit with [0], but received '1'
   ---- Begin output of /sbin/sv restart /etc/service/runscope_radar_agent ----
   STDOUT: timeout: run: /etc/service/runscope_radar_agent: (pid 20214) 331s, got TERM
   STDERR:
   ---- End output of /sbin/sv restart /etc/service/runscope_radar_agent ----
   Ran /sbin/sv restart /etc/service/runscope_radar_agent returned 1```
pavannaga commented 8 years ago

please ignore this issue. the mistake was on my side