0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-12-15 19:09:46 +00:00
2022-01-16 14:23:21 -05:00

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