I have a systemd unit with spaces in an argument
ExecStart=command --argument=\"text text\"
It seems that systemd does not recognize the do
Environment is a way to do it.
You can also use \s as space, so ExecStart will be:
\s
ExecStart=command --argument="text=\stext"
ref: https://www.freedesktop.org/software/systemd/man/systemd.service.html#Command%20lines