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```
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