1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-22 12:46:19 +00:00
Lakka-LibreELEC/packages/lakka/retroarch_base/retroarch/system.d/retroarch.service
Yasai-san 63ed9e53ea
cec_mini_kb : cec-mini-kb.service is started 1 time only when retroarch.service is activated (#1984)
* Fix endress CEC mini kb service start when it failed

* Retry to (re)start 3 times during 20 sec

* Revert "Retry to (re)start 3 times during 20 sec"

This reverts commit f4d2136a8548cfd5d8698e6106f5d5e4dea1bf6e.
2024-06-21 19:20:29 +03:00

23 lines
681 B
Desktop File

[Unit]
Description=Retroarch
After=tmp-assets.mount tmp-cores.mount tmp-database.mount tmp-joypads.mount tmp-overlays.mount tmp-shaders.mount tmp-system.mount
ConditionKernelCommandLine=!retroarch=0
Requires=graphical.target
[Service]
EnvironmentFile=/usr/lib/retroarch/retroarch-env.conf
EnvironmentFile=-/run/libreelec/retroarch.conf
EnvironmentFile=-/storage/.cache/services/retroarch.conf
ExecStartPre=-/usr/lib/retroarch/retroarch-config
ExecStart=/usr/bin/retroarch
# keep KillMode=process unless there is no good reason to switch to cgroup
KillMode=process
TimeoutStopSec=10
Restart=always
RestartSec=2
StartLimitInterval=0
Type=notify
[Install]
WantedBy=retroarch.target