[systemd-bugs] [Bug 90100] systemctl needs a --setenv option for per-unit environment modification

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 20 06:32:58 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=90100

Lennart Poettering <lennart at poettering.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #1 from Lennart Poettering <lennart at poettering.net> ---
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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20150420/65803b59/attachment.html>


More information about the systemd-bugs mailing list