<div dir="ltr"><div dir="ltr">On Mon, Dec 27, 2021 at 10:53 AM Ulrich Windl <<a href="mailto:Ulrich.Windl@rz.uni-regensburg.de">Ulrich.Windl@rz.uni-regensburg.de</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi!<br>
<br>
I just noticed that systemctl kill logs a (mis-named) service "{__SERVICE__}" as "\x7b__SERVICE__\x7d.service".<br>
Is that intended? Are braces considered bad?<br></blockquote><div><br></div><div>As per systemd.unit(5),</div><div><br></div><div><i>Valid unit names consist of a "name prefix" and a dot and a suffix specifying the unit type. The "unit prefix" must consist of one or more valid characters (ASCII letters, digits, ":", "-", "_", ".", and "\").</i></div><div><br></div><div>Anything else goes through C-style escaping (see systemd-escape) before it even leaves systemctl.</div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Mantas Mikulėnas</div></div></div>