mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
24 lines
583 B
Desktop File
24 lines
583 B
Desktop File
[Unit]
|
|
Description=Kodi Media Center
|
|
After=network-online.target graphical.target
|
|
Requires=graphical.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Environment=DISPLAY=:0.0
|
|
Environment=SDL_MOUSE_RELATIVE=0
|
|
Environment=HOME=/storage
|
|
EnvironmentFile=-/run/libreelec/kodi.conf
|
|
EnvironmentFile=-/run/libreelec/debug/kodi.conf
|
|
ExecStartPre=-/usr/lib/kodi/kodi-config
|
|
ExecStart=/usr/lib/kodi/kodi.sh --standalone -fs $KODI_ARGS $KODI_DEBUG
|
|
ExecStop=/bin/kill -TERM $MAINPID
|
|
TimeoutStopSec=5
|
|
Restart=always
|
|
RestartSec=2
|
|
StartLimitInterval=0
|
|
LimitNOFILE=16384
|
|
|
|
[Install]
|
|
WantedBy=kodi.target
|