mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
xbmc: merge xbmc-config.service into xbmc.service
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
836397b06e
commit
c95bc93f49
@ -494,7 +494,6 @@ post_install() {
|
|||||||
|
|
||||||
enable_service xbmc-autostart.service
|
enable_service xbmc-autostart.service
|
||||||
enable_service xbmc-cleanlogs.service
|
enable_service xbmc-cleanlogs.service
|
||||||
enable_service xbmc-config.service
|
|
||||||
enable_service xbmc-hacks.service
|
enable_service xbmc-hacks.service
|
||||||
enable_service xbmc-sources.service
|
enable_service xbmc-sources.service
|
||||||
enable_service xbmc-halt.service
|
enable_service xbmc-halt.service
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=XBMC configfile writer
|
|
||||||
Before=xbmc.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=oneshot
|
|
||||||
Environment=HOME=/storage
|
|
||||||
ExecStart=/usr/lib/xbmc/xbmc-config
|
|
||||||
RemainAfterExit=yes
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=xbmc.service
|
|
@ -9,6 +9,7 @@ Environment=SDL_MOUSE_RELATIVE=0
|
|||||||
Environment=HOME=/storage
|
Environment=HOME=/storage
|
||||||
EnvironmentFile=-/run/openelec/xbmc.conf
|
EnvironmentFile=-/run/openelec/xbmc.conf
|
||||||
EnvironmentFile=-/run/openelec/debug/xbmc.conf
|
EnvironmentFile=-/run/openelec/debug/xbmc.conf
|
||||||
|
ExecStartPre=-/usr/lib/xbmc/xbmc-config
|
||||||
ExecStart=/bin/sh -c ". /etc/profile; exec /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"
|
||||||
# keep KillMode=process unless there is no good reason to switch to cgroup
|
# keep KillMode=process unless there is no good reason to switch to cgroup
|
||||||
KillMode=process
|
KillMode=process
|
||||||
|
Loading…
x
Reference in New Issue
Block a user