On Mon, Dec 27, 2021 at 10:53 AM Ulrich Windl < ulrich.wi...@rz.uni-regensburg.de> wrote:
> Hi! > > I just noticed that systemctl kill logs a (mis-named) service > "{__SERVICE__}" as "\x7b__SERVICE__\x7d.service". > Is that intended? Are braces considered bad? > As per systemd.unit(5), *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 "\").* Anything else goes through C-style escaping (see systemd-escape) before it even leaves systemctl. -- Mantas Mikulėnas