bugfix: systemd is default on debian 8

This commit is contained in:
Christoph Hartmann 2015-09-25 11:50:11 +02:00
parent 007d292890
commit ea75b361a7

View file

@ -46,7 +46,7 @@ class Service < Vulcano.resource(1)
end end
when 'debian' when 'debian'
version = vulcano.os[:release].to_i version = vulcano.os[:release].to_i
if version >= 7 if version > 7
@service_mgmt = Systemd.new(vulcano) @service_mgmt = Systemd.new(vulcano)
else else
@service_mgmt = SysV.new(vulcano) @service_mgmt = SysV.new(vulcano)