Commit 3c29ce7f authored by Tim Smith's avatar Tim Smith
Browse files

Fix runsdir not being started on Debian 9


Signed-off-by: Tim Smith's avatarTim Smith <tsmith@chef.io>
parent d9ddb556
......@@ -52,4 +52,10 @@ when 'debian'
action :install
response_file 'runit.seed'
end
execute 'runsvdir-start' do
command '/etc/runit/2 &'
not_if 'ps -ef | grep -v grep | grep "runsvdir"'
only_if { platform?('debian') && node['platform_version'].to_i >= 9 }
end
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment