mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
xbmc: merge xbmc-config.service into xbmc.service
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
committed by
Stephan Raue
parent
836397b06e
commit
c95bc93f49
@@ -494,7 +494,6 @@ post_install() {
|
||||
|
||||
enable_service xbmc-autostart.service
|
||||
enable_service xbmc-cleanlogs.service
|
||||
enable_service xbmc-config.service
|
||||
enable_service xbmc-hacks.service
|
||||
enable_service xbmc-sources.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
|
||||
EnvironmentFile=-/run/openelec/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"
|
||||
# keep KillMode=process unless there is no good reason to switch to cgroup
|
||||
KillMode=process
|
||||
|
||||
Reference in New Issue
Block a user