Bug 82020

Summary: RFE: support instance name parts with %iN specifiers
Product: systemd Reporter: kitaev
Component: generalAssignee: systemd-bugs
Status: NEW --- QA Contact: systemd-bugs
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description kitaev 2014-08-01 18:36:01 UTC
I would like systemd to support multiple %i specifiers. 

I suggest to support the following. 

For service named:

backlight@acpi_video0:battery.service:

%i  : apci_video0:battery
%i0 : apci_video0:battery
%i1 : apci_video0
%i2 : battery

For service named:

backlight@acpi_video0.service:

%i  : apci_video0
%i0 : apci_video0
%i1 : apci_video0
%i2 : <empty string>

Same could be implemented for %p, with the same ':' separator used to separate prefix parts.

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.