[systemd-devel] Query regarding "EnvironmentFile"

Reindl Harald h.reindl at thelounge.net
Tue Dec 22 17:45:56 PST 2015



Am 23.12.2015 um 01:32 schrieb Lennart Poettering:
> On Fri, 18.12.15 17:00, Michael Biebl (mbiebl at gmail.com) wrote:
>
>> I do think that overriding the complete ExecStart= line is usually
>> suboptimal and not what you want if you just want to pass additional
>> options to the daemon.
>>
>> Maybe a good middle ground / recommendation for such daemons would be,
>> to ship a line
>>
>> ExecStart=/usr/sbin/foobard $OPTS
>>
>> and then tell admin to use systemctl edit
>> [Unit]
>> Environment=OPTS=-baz
>>
>> bonus points if we could standardise the $OPTS var name across
>> daemons.
>
> Well, I think the time would be better spent on fixing the daemons to
> put their configuration in native config files, so that the process
> command line becomes irrelevant.

well, who would go out and change each and every upstream daemon

-------------- 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/20151223/fcef18e8/attachment-0001.sig>


More information about the systemd-devel mailing list