Add lirc socket as option for kodi
so any kodi package can be used
This commit is contained in:
parent
4dfb0fde81
commit
373f44e6aa
@ -3205,7 +3205,7 @@ Description=Start kodi in user session
|
|||||||
Type=simple
|
Type=simple
|
||||||
PassEnvironment=DISPLAY XDG_RUNTIME_DIR DBUS_SESSION_BUS_ADDRESS
|
PassEnvironment=DISPLAY XDG_RUNTIME_DIR DBUS_SESSION_BUS_ADDRESS
|
||||||
ExecStartPre=-/usr/bin/set-kodi-display
|
ExecStartPre=-/usr/bin/set-kodi-display
|
||||||
ExecStart=/usr/bin/kodi
|
ExecStart=/usr/bin/kodi -l /run/lirc/lircd
|
||||||
ExecStop=/bin/bash -c "/usr/bin/kodi-send --action=QUIT; while /usr/bin/pgrep kodi; do sleep 1; done; sleep 1"
|
ExecStop=/bin/bash -c "/usr/bin/kodi-send --action=QUIT; while /usr/bin/pgrep kodi; do sleep 1; done; sleep 1"
|
||||||
TimeoutStopSec=10
|
TimeoutStopSec=10
|
||||||
SuccessExitStatus=0 127
|
SuccessExitStatus=0 127
|
||||||
|
@ -5,7 +5,7 @@ Description=Start kodi in user session
|
|||||||
Type=simple
|
Type=simple
|
||||||
PassEnvironment=DISPLAY XDG_RUNTIME_DIR DBUS_SESSION_BUS_ADDRESS
|
PassEnvironment=DISPLAY XDG_RUNTIME_DIR DBUS_SESSION_BUS_ADDRESS
|
||||||
ExecStartPre=-/usr/bin/set-kodi-display
|
ExecStartPre=-/usr/bin/set-kodi-display
|
||||||
ExecStart=/usr/bin/kodi
|
ExecStart=/usr/bin/kodi -l /run/lirc/lircd
|
||||||
ExecStop=/bin/bash -c "/usr/bin/kodi-send --action=QUIT; while /usr/bin/pgrep kodi; do sleep 1; done; sleep 1"
|
ExecStop=/bin/bash -c "/usr/bin/kodi-send --action=QUIT; while /usr/bin/pgrep kodi; do sleep 1; done; sleep 1"
|
||||||
TimeoutStopSec=10
|
TimeoutStopSec=10
|
||||||
SuccessExitStatus=0 127
|
SuccessExitStatus=0 127
|
||||||
|
Loading…
Reference in New Issue
Block a user