[systemd-devel] Query regarding "EnvironmentFile"

Reindl Harald h.reindl at thelounge.net
Thu Dec 10 07:20:46 PST 2015


Am 10.12.2015 um 15:46 schrieb Jóhann B. Guðmundsson:
> If you are unaware of any other use case for it

EnvironmentFile=-/etc/sysconfig/httpd
ExecStart=/usr/sbin/httpd $OPTIONS -D FOREGROUND

[root at testserver:~]$ cat /etc/sysconfig/httpd
OPTIONS="-D testserver"

Apache:
<IfDefine testserver>
Include "conf/local/testserver.conf"
</IfDefine>

and now you can use the same systemd-unit on a dozens of machines and 
include specific config snippets WITOUT touch the systemd-unit or 
*anything* else in the apache configuration

> perhaps it's time to
> start looking into obsoleting it

don't get me wrong but you sound once again like seek for changes to 
break users configuration to later blame users why they did not fix 
which ain't broken

-------------- 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/1cdc5271/attachment.sig>


More information about the systemd-devel mailing list