Commit 011b45899850d1451640d2923f35dfd7c8557370
1 parent
dd024d69
Exists in
master
and in
9 other branches
Use sysvinit for Debian
Showing
1 changed file
with
6 additions
and
1 deletions
Show diff stats
files/gitlab-cookbooks/runit/recipes/default.rb
... | ... | @@ -19,7 +19,12 @@ |
19 | 19 | |
20 | 20 | case node["platform_family"] |
21 | 21 | when "debian" |
22 | - include_recipe "runit::upstart" | |
22 | + case node["platform"] | |
23 | + when "debian" | |
24 | + include_recipe "runit::sysvinit" | |
25 | + else | |
26 | + include_recipe "runit::upstart" | |
27 | + end | |
23 | 28 | when "rhel" |
24 | 29 | case node["platform"] |
25 | 30 | when "amazon", "xenserver" | ... | ... |