Auto start with arguments

Hi,

I’m have followed the guide to configure autostart of Kodi as per this link:

http://kodi.wiki/view/HOW-TO:Autostart_K…md_script.

Running 16.04, so went with the systemd option. Now, I’m also trying to use evenlircd for my remote which only works if Kodi is loaded with the –lircdev option.

Unfortunately this does not get picked up when I add it to the ExecStart line:

Code:
ExecStart = /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/bin/kodi-standalone --lircdev /var/run/lirc/lircd -- :0 -nolisten tcp vt7

I’m probably doing it all wrong so can somebody point me in the right direction please?