mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +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"
|
||||
fi
|
||||
|
||||
if [ "$DEBUG" = yes ]; then
|
||||
XBMC_ARGS="$XBMC_ARGS --debug"
|
||||
fi
|
||||
|
||||
echo "XBMC_ARGS=\"$XBMC_ARGS\"" > /run/xbmc/xbmc.conf
|
||||
echo "XBMC_ARGS=\"$XBMC_ARGS\"" > /run/openelec/xbmc.conf
|
||||
|
@ -7,8 +7,9 @@ Requires=graphical.target
|
||||
Environment=DISPLAY=:0.0
|
||||
Environment=SDL_MOUSE_RELATIVE=0
|
||||
Environment=HOME=/storage
|
||||
EnvironmentFile=-/run/xbmc/xbmc.conf
|
||||
ExecStart=/usr/lib/xbmc/xbmc.bin --standalone -fs $XBMC_ARGS
|
||||
EnvironmentFile=-/run/openelec/xbmc.conf
|
||||
EnvironmentFile=-/run/openelec/debug/xbmc.conf
|
||||
ExecStart=/usr/lib/xbmc/xbmc.bin --standalone -fs $XBMC_ARGS $XBMC_DEBUG
|
||||
KillMode=process
|
||||
Restart=always
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user