1
0
This repository has been archived on 2024-11-10. You can view files and clone it, but cannot push or open issues or pull requests.
Lakka-rk322x/packages/mediacenter/kodi/system.d/kodi-reboot.service
Stefan Saraev 60ab2c0410 kodi: shutdown.sh: source etc/profile
lets make this consistent as with autostart.sh. too many people
have no idea how to deal with $PATH and why their 3rdparty stuff
dont work in shutdown.sh.
2015-04-29 20:33:51 +03:00

15 lines
303 B
Desktop File

[Unit]
Description=Kodi reboot script
After=kodi.service
Before=systemd-reboot.service
DefaultDependencies=no
[Service]
Type=oneshot
Environment=HOME=/storage
ExecStart=-/bin/sh -c ". /etc/profile; exec /bin/sh /storage/.config/shutdown.sh reboot"
RemainAfterExit=yes
[Install]
WantedBy=reboot.target