0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-03-01 06:51:22 +00:00
2021-11-13 14:13:46 +01:00

22 lines
641 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]
Environment=HOME=/storage
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
[Install]
WantedBy=retroarch.target