On Thursday 14 August 2014 at 13:00:50, Lennart Poettering wrote:       
> On Thu, 14.08.14 10:02, Ivan Shapovalov ([email protected]) wrote:
> 
> > The only thing: PROGRAM="...", ENV{SYSTEMD_WANTS}+="...%c..." idiom seems a
> > pretty ugly way to invoke systemd-escape. This looks like a pretty common
> > thing to do; shouldn't there be a shorthand or something? (just a 
> > suggestion)
> 
> Yeah, I agree, but I not entirely sure how this could look like in a
> nice way?
> 
> Maybe add:
> 
> ENV{SYSTEMD_WANTS_INSTANCE}="bar"
> ENV{SYSTEMD_WANTS_TEMPLATE}="[email protected]"
> 
> or so, would escape "bar" and add it into [email protected]... But that's not
> particularly generic but focusses only on the instance/template case...
> 
> Ideas?
> 
> Lennart

How about $(/usr/bin/systemd-escape ...) shell-like syntax ? :)

-- 
Ivan Shapovalov / intelfx /

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to