In the EnvironmentFile I have:
EBUSD_OPTS="--scanconfig -d /dev/ttyEBUS -c /etc/ebusd --log=\"all notice\" --log=\"update error\""
In the .service file:
EnvironmentFile=-/etc/default/ebusd
ExecStart=/usr/bin/ebusd $EBUSD_OPTS
I would expect the quotes after --log= to be passed unchanged to the executable, but that doesn't seem to work. I've tried all types of double, single quotes, double, triple escaping the inner quotes, single outer quotes, etc. with no success.