I would like to take advantage of ${var} in the ExecStart lines.
However I find that there is a issue with handling of while space.
If I code this
ExecStart=/myservice --arg ${optional_arg}
If option_arg is not defined argv is ['/myservice', '--arg', '']
Is it a bug that you do not strip trailing whitespace after substituion?
If I code this
ExecStart=/myservice --arg${optional_arg}
and define
option_arg= --debug
argv is ['/myservice', '--arg--debug']
Is it a bug that the whitespace after = was stripped?
Barry
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel