On Sun, 20.12.15 14:30, Marc Haber (mh+systemd-de...@zugschlus.de) wrote: > On Fri, Dec 18, 2015 at 05:00:32PM +0100, Michael Biebl wrote: > > and then tell admin to use systemctl edit > > [Unit] > > Environment=OPTS=-baz > > How would I do the equivalent of systemctl edit with a declarative > configuration management tool like puppet?
"systemctl edit" is just a helper that simplifies the following common admin operation: # mkdir -p /etc/systemd/system/foo.d # vim /etc/systemd/system/foo.d/override.conf # systemctl deamon-reload The drop-ins logic (which this makes use of) is documented in the man-pages, please have a look. Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel