mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-24 12:36:18 +00:00
4f8d2a57e9
* Initial fully buildable/bootable Odin Support * Rework NX-Boot to FAT32 Boot for shared usage between switch and odin * Move shared packages from switch/odin to main packages folder
22 lines
547 B
Desktop File
22 lines
547 B
Desktop File
[Unit]
|
|
Description=Retroarch
|
|
After=graphical.target
|
|
ConditionKernelCommandLine=!retroarch=0
|
|
Requires=graphical.target
|
|
|
|
[Service]
|
|
Environment=HOME=/storage DISPLAY=:0
|
|
#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=300
|
|
Restart=always
|
|
RestartSec=2
|
|
StartLimitInterval=0
|
|
|
|
[Install]
|
|
WantedBy=retroarch.target
|