nathwill / chef-systemd

resource-driven chef cookbook for managing linux systems via systemd
Apache License 2.0
44 stars 33 forks source link

Re-add the ability to create drop-ins for daemons #143

Closed mitchellrj closed 5 years ago

mitchellrj commented 5 years ago

For example, prior to 3.0.0, one could achieve a journald drop-in with:

        systemd_journald "my-overrides" do
          drop_in true
          max_retention_sec 3600
          notifies :restart, "service[systemd-journald]", :delayed
        end

but this doesn't appear to be possible any more with the new drop-in structure?

nathwill commented 5 years ago

hi @mitchellrj, thanks for the inquiry. in v3.0 we got rid of the direct configuration editing for daemon configuration files, so the systemd_journald resource automatically creates drop-ins now

i.e. this resource will create this configuration.

hope that helps!