mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-12-15 19:09:46 +00:00
16 lines
479 B
Desktop File
16 lines
479 B
Desktop File
[Unit]
|
|
Description=Kodi user autostart script
|
|
Before=kodi.service
|
|
After=network-online.target graphical.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
Environment=HOME=/storage
|
|
ExecStart=-/bin/sh -c ". /etc/profile; test -f /storage/.config/autostart.sh && exec /bin/sh /storage/.config/autostart.sh"
|
|
ExecStop=-/bin/sh -c ". /etc/profile; test -f /storage/.config/autostop.sh && exec /bin/sh /storage/.config/autostop.sh"
|
|
RemainAfterExit=yes
|
|
TimeoutStopSec=5min
|
|
|
|
[Install]
|
|
WantedBy=kodi.service
|