diff --git a/resources/component_runit_service.rb b/resources/component_runit_service.rb index fca7b33..cdc1880 100644 --- a/resources/component_runit_service.rb +++ b/resources/component_runit_service.rb @@ -21,6 +21,7 @@ resource_name :component_runit_service provides :component_runit_service +unified_mode true # :component is the name of the component/service of the project for which # this resource will manage a runit definition diff --git a/resources/component_runit_supervisor_systemd.rb b/resources/component_runit_supervisor_systemd.rb index 34760fb..b180ca2 100644 --- a/resources/component_runit_supervisor_systemd.rb +++ b/resources/component_runit_supervisor_systemd.rb @@ -18,7 +18,8 @@ # include ComponentRunitSupervisorResourceMixin -provides :component_runit_supervisor do |node| +provides :component_runit_supervisor +unified_mode true do |node| node['init_package'] == 'systemd' end