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.