Bug 82020 - RFE: support instance name parts with %iN specifiers
Summary: RFE: support instance name parts with %iN specifiers
Status: NEW
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-01 18:36 UTC by kitaev
Modified: 2014-08-18 21:02 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.