Summary: | systemctl needs a --setenv option for per-unit environment modification | ||
---|---|---|---|
Product: | systemd | Reporter: | Will Rouesnel <w.rouesnel> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED WONTFIX | QA Contact: | systemd-bugs |
Severity: | enhancement | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Will Rouesnel
2015-04-19 16:47:17 UTC
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. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.