Summary: | RFE: Appending to unit file directives | ||
---|---|---|---|
Product: | systemd | Reporter: | Michael Stapelberg <michael+freedesktop> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED FIXED | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Michael Stapelberg
2013-06-13 20:38:03 UTC
So, humm. not sure. This isn't that easy I fear, as ExecStart= may be used multiple times in Type=oneshot units, and which one would you replace then? Also, I can see the ebenfit of extending command lines, but I wouldn't want to make this too flexible, so the only thing that would be OK I think would be to allow a syntax like ExecStart+= or ExecStart=+ to append to the end... But still, I don't see how the multiple ExecStart= assignment issue could be dealt with. Ideas? (In reply to comment #1) > So, humm. not sure. > > This isn't that easy I fear, as ExecStart= may be used multiple times in > Type=oneshot units, and which one would you replace then? > [...] > But still, I don't see how the multiple ExecStart= assignment issue could be > dealt with. Ideas? Can we simply make this fail when there is more than one ExecStart= directive, given that there is no good way of handling that situation anyway? Some time has passed... We are not going to add a mechanism to extend existing lines. Where this makes sense, we generally allow lists to be extended with new items.
> Can we simply make this fail when there is more than one ExecStart= directive, given that there is no good way of handling that situation anyway?
This is implemented since ages.
Let's close.
|
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.