load-fragment: allow quoting in command name and document allowed escapes

System Internals / systemd - Zbigniew Jędrzejewski-Szmek [in.waw.pl] - 18 December 2014 18:26 UTC

The handling of the command name and other arguments is unified. This simplifies things and should make them more predictable for users. Incidentally, this makes ExecStart handling match the .desktop file specification, apart for the requirment for an absolute path.

https://bugs.freedesktop.org/show_bug.cgi?id=86171

c853953 load-fragment: allow quoting in command name and document allowed escapes
man/systemd.service.xml | 93 ++++++++++++++++++++++++---
src/core/load-fragment.c | 124 +++++++++++++++++------------------
src/test/test-unit-file.c | 156 +++++++++++++++++++++++++++++++++++----------
3 files changed, 269 insertions(+), 104 deletions(-)

Upstream: github.com


  • Share