10.12.2015 03:08, Reindl Harald пишет: > > > 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 >
This may have been true in the past. How is [Service] Environment=FOO=bar snippet today worse than environment file that does exactly the same? _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel