![](https://seccdn.libravatar.org/avatar/d2f7bef0955962945cf8aef4a147f5d1.jpg?s=120&d=mm&r=g)
On Thu, Aug 25, 2011 at 02:56:37PM +0200, Frederic Crozat wrote:
According to upstream, you are not supposed to create path "on the fly" like this. And ExecStart is not started in a shell, so it doesn't expand everything like a shell.
If %p and other don't work, please open a bugreport on https://bugs.freedesktop.org/ against systemd.
Guess: it's useless or do you think that Lennard will accept anything else as his own (political) opinion :? Paths on the fly is one of our major features and IMHO very usefull to handle 6 or more Display Managers we have. Nevertheless this line ExecStart=/sbin/start_daemon -p /var/run/%p.pid /usr/bin/%p does work, indeed :/ Or should we use a meta template for this, that is to produce for each Display Manager its own service unit file and enable it with the graphical.target (which reqiures to remove the current active one). This indeed would require a generator script. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org