[systemd-devel] Query regarding "EnvironmentFile"
Reindl Harald
h.reindl at thelounge.net
Wed Dec 16 01:47:59 PST 2015
Am 15.12.2015 um 18:59 schrieb Simon Peeters:
> 2015-12-10 15:20 GMT+00:00 Reindl Harald <h.reindl at thelounge.net>:
>>
>> 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
>
> Why not do like normal people
"normal people" - what's wrong with you?
> and use configmanagement to put the
> right apache config on the right host?
because i know how to configure servers and don't need handholding tools
since i develop my own admin backends for many years and services
helping on repeatly needed taks but don't chain me to a limited subset
of the supported options
> This whole "-D testserver" and "<IfDefine testserver>" looks like an
> ugly workaround for a lacking configmanagment system.
config managements fpr webservers are ugly workaround for lacking
knowledge and only fine for 08/15 setups but a no-go where you need
flexibility
> More preciesly conf/local/testserver.conf probably shouldn't even
> exist on non testing mahines
guess why it's in the subfolder "local"
> '/etc/…/testserver.conf': ensure => absent }" in puppet
go away with that crap - only over my dead body besides Perl, PHP and
Python now Ruby and it's dependencies would make it to any server here
-------------- 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/20151216/069463c2/attachment.sig>
More information about the systemd-devel
mailing list