At this moment (current git, 193) systemd doesn't allow templated parts Unit field in path units. So it's impossible to start templated target with path unit
I'm not sure since how long exactly, but it is now fixed (v204-102-g02b9e96). % cat /home/zbyszek/.config/systemd/user/one.path [Path] PathExists=/tmp/one Unit=templ@one.service % cat /home/zbyszek/.config/systemd/user/templ@.service [Service] ExecStart=/bin/true %I % systemctl --user start one.path % touch /tmp/one one.path got triggered. Trying to enqueue job templ@one.service/start/replace Installed new job templ@one.service/start as 24 Enqueued job templ@one.service/start as 24 one.path changed waiting -> running About to execute: /bin/true one Forked /bin/true as 4335 templ@one.service changed dead -> running Job templ@one.service/start finished, result=done
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.