mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
xbmc: rework debugconfig service files
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
e8ae1050d0
commit
398a33d9d2
1
packages/mediacenter/xbmc/debug.d/xbmc.conf
Normal file
1
packages/mediacenter/xbmc/debug.d/xbmc.conf
Normal file
@ -0,0 +1 @@
|
|||||||
|
XBMC_DEBUG="--debug"
|
@ -27,8 +27,4 @@ else
|
|||||||
XBMC_ARGS="--lircdev /var/run/lirc/lircd"
|
XBMC_ARGS="--lircdev /var/run/lirc/lircd"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$DEBUG" = yes ]; then
|
echo "XBMC_ARGS=\"$XBMC_ARGS\"" > /run/openelec/xbmc.conf
|
||||||
XBMC_ARGS="$XBMC_ARGS --debug"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "XBMC_ARGS=\"$XBMC_ARGS\"" > /run/xbmc/xbmc.conf
|
|
||||||
|
@ -7,8 +7,9 @@ Requires=graphical.target
|
|||||||
Environment=DISPLAY=:0.0
|
Environment=DISPLAY=:0.0
|
||||||
Environment=SDL_MOUSE_RELATIVE=0
|
Environment=SDL_MOUSE_RELATIVE=0
|
||||||
Environment=HOME=/storage
|
Environment=HOME=/storage
|
||||||
EnvironmentFile=-/run/xbmc/xbmc.conf
|
EnvironmentFile=-/run/openelec/xbmc.conf
|
||||||
ExecStart=/usr/lib/xbmc/xbmc.bin --standalone -fs $XBMC_ARGS
|
EnvironmentFile=-/run/openelec/debug/xbmc.conf
|
||||||
|
ExecStart=/usr/lib/xbmc/xbmc.bin --standalone -fs $XBMC_ARGS $XBMC_DEBUG
|
||||||
KillMode=process
|
KillMode=process
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user