Although nobody reacted; it seems trivial that this SHOULD work.
And since it doesn't (as you already guessed) this is bug.

Therefore I went ahead took the time to write a bug report:
https://github.com/systemd/systemd/issues/37329

On Thu, 1 May 2025 00:14:04 +0200
Carlo Wood <[email protected]> wrote:

> If I have a template unit [email protected]
> and I have a symlink in /etc/systemd/system/
> [email protected] -> /usr/lib/systemd/system/[email protected]
> 
> 1) is adding a symbolic link like this supported?
> 2) is using %j inside [email protected] supported in this case
> (aka, allowed and it should work)?
> 
> If then I start this alias with
> sudo systemctl start [email protected]
> 
> 3) what should %j expand to? (assuming 'yes' to 2) above).

Reply via email to