xbmc: fix env not exported on xbmc start

This commit is contained in:
Stefan Saraev 2013-09-21 22:48:31 +03:00
parent 92a7469b75
commit 05fe001814

View File

@ -9,7 +9,7 @@ Environment=SDL_MOUSE_RELATIVE=0
Environment=HOME=/storage
EnvironmentFile=-/run/openelec/xbmc.conf
EnvironmentFile=-/run/openelec/debug/xbmc.conf
ExecStart=/usr/lib/xbmc/xbmc.bin --standalone -fs $XBMC_ARGS $XBMC_DEBUG
ExecStart=/bin/sh -c ". /etc/profile; exec /usr/lib/xbmc/xbmc.bin --standalone -fs $XBMC_ARGS $XBMC_DEBUG"
KillMode=process
Restart=always
### TODO: remove this