Bug 54377

Summary: RFE: templated [Install] for target units [ w/ patch ]
Product: systemd Reporter: Oleksii Shevchuk <public.avatar>
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: enhancement    
Priority: high    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Add trivial templates support (%p, %i)
Add trivial templates support (%p, %i) for RequiredBy

Description Oleksii Shevchuk 2012-09-02 08:14:55 UTC
For now I couldn't do something about

[Install]
WantedBy=wlan@%i.target

This seriously reduce templates usage
Comment 1 Oleksii Shevchuk 2012-11-02 22:13:50 UTC
Created attachment 69472 [details] [review]
Add trivial templates support (%p, %i)

Works for me, but review/rework of name_printf function/name needed
Comment 2 Oleksii Shevchuk 2012-11-03 08:19:35 UTC
Created attachment 69476 [details] [review]
Add trivial templates support (%p, %i) for RequiredBy
Comment 3 Zbigniew Jedrzejewski-Szmek 2013-02-02 14:01:06 UTC
Should be implemented in 7584d236e and 3f0b2f0f4. If anything is missing, please reopen or open a new bug.

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.