Closed fancyweb closed 6 years ago
Ok actually to make it work correctly on first provision I had to do :
include_recipe 'runit'
execute 'runsvdir-start' do
command '/etc/runit/2 &'
end
Because even if I change the "start" attribute or if I manually do the symbolic link, it gets stuck because it is never launched.
I fixed this on master. Thanks for the report
Cookbook version
3.0.5
Chef-client version
13.1.31
Platform Details
Debian Stretch 9.0
Scenario:
Create an user controlled service
Steps to Reproduce:
This is how I was using the recipe before upgrading to the new Debian :
Expected Result:
The user controlled service gets created
Actual Result:
The installations hangs on forever with this line : "ruby_block[wait for es-core-visible service socket] action run" because runit never starts.
Fix and explanation
I'm copying the changelog from runit 2.1.2-4 which was installed :
To make it work I did this in my own recipe :