<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:lennart@poettering.net" title="Lennart Poettering <lennart@poettering.net>"> <span class="fn">Lennart Poettering</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - systemctl needs a --setenv option for per-unit environment modification"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90100">bug 90100</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>WONTFIX
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - systemctl needs a --setenv option for per-unit environment modification"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90100#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - systemctl needs a --setenv option for per-unit environment modification"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90100">bug 90100</a>
from <span class="vcard"><a class="email" href="mailto:lennart@poettering.net" title="Lennart Poettering <lennart@poettering.net>"> <span class="fn">Lennart Poettering</span></a>
</span></b>
<pre>I dont think we should support this. Services can have multiple triggers (think
bus, socket, manual, hw activation), and it shouldn't depend on the trigger
used with which parameter a service is called.
If you want behaviour like this, then make a template service, and then use %i
to reference the instance identifier in the command line or environment block.
This makes the parameter part of the service name, which fixes the issues I
have.
Alternatively, dynamically create a service with systemd-run or an equivalent
tool.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>