[systemd-devel] Query regarding "EnvironmentFile"

Manuel Amador (Rudd-O) rudd-o at rudd-o.com
Sat Dec 26 10:52:50 PST 2015


On 12/10/2015 03:20 PM, Reindl Harald wrote:
>
> 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

This sounds like you're aching to use something like Ansible or
SaltStack.  Dozens of machines, that means you're going to be managing
dozens of files.  Use a proper configuration management system.

Also note that with your defines "system", service apache reload stops
working.  If you wrote those things /properly in the config files/ (like
you could do with Ansible or SaltStack), then no-downtime reload becomes
possible again.

-- 
    Rudd-O
    http://rudd-o.com/


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


More information about the systemd-devel mailing list