14.03.2018 19:20, Markus Feilner пишет:
Can it be that Systemd caches a start file and needs a daemon-reload when I change it even if the correspondig service is not running? That sounds weird. I wonder if this is rather a systemd topic than a openvpn one.
Did that help?
Not sure if this was a question, but - systemd does not *re*load unit definition unless explicitly told so by "systemctl daemon-reload". OTOH systemd attempts aggressive garbage collection - if unit becomes inactive and is not referenced by other unit, its definition is purged and so loaded again next time. Also systemd performs lazy loading - unit definition is not loaded until needed. So the answer to the above questions is "it depends" :) In general it is more safe to explicitly call "systemctl daemon-reload" after changing unit definition file.