[systemd-devel] Query regarding "EnvironmentFile"

Reindl Harald h.reindl at thelounge.net
Wed Dec 9 16:08:34 PST 2015



Am 09.12.2015 um 20:46 schrieb Lennart Poettering:
> I probably should never have added EnvironmentFile= in the first
> place. Packagers misunderstand that unit files are subject to admin
> configuration and should be treated as such, and that spliting out
> configuration of unit files into separate EnvironmentFiles= is a
> really non-sensical game of unnecessary indirection

i strongly disagree

it's the easiest way to not touch/copy the systemd-unit *and* 
systemd-snippets for just adjust a simple variable - the point here is 
simple

copy units and/or add own snippets has easily two side effects

* don't get well deserved updates for the units
* or snippets don't play well with later dist-versions of the unit

a EnvironmentFile supported by the distributions unit is well better for 
simple adoptions

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20151210/28520af5/attachment.sig>


More information about the systemd-devel mailing list