<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Feb 1, 2016 at 11:37 AM, arnaud gaboury <span dir="ltr"><<a href="mailto:arnaud.gaboury@gmail.com" target="_blank">arnaud.gaboury@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">$ systemctl --version<br>
systemd 22<br></blockquote><div><br></div><div>v22 was released five years ago, are you sure?</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
One way to pass additional options is to add one of these lines in<br>
the [Service] part of the unit file:<br>
<br>
------------<br>
Environment=ONE='one'<br>
EnvironmentFile=/path/to<br>
-------------------<br>
<br>
If I am right, there is another possible mechanism since recent<br>
versions by adding a configuration file somewhere in /etc/systemd, but<br>
I can't remember how exactly do it. I think the way is to edit a<br>
MyService.conf and place it in /etc/systemd/system.conf.d. Am I right?<br>
/etc/systemd/system/MyService.service.conf directory is to add<br>
override vendor settings. I<br></blockquote><div><br></div>Search systemd.unit(5) for "drop-in". There is no special syntax, the additional .conf files act exactly like a part of the main unit file.</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Mantas Mikulėnas <<a href="mailto:grawity@gmail.com" target="_blank">grawity@gmail.com</a>></div></div>
</div></div>