Shutdown does not work now with systemd. Reboot never hits until Kodi completes it’s tasks. If there’s a library scan going on, Kodi will hang until the python script completes its initial stat set. As it’s a media player, and not some crazy server… The timeout should not be 90s per service. As there’s no mount point on the distro, it’s broken for everyone.
00-quick-shutdown.conf
[Manager]
DefaultTimeoutStopSec=3s
autostart.sh
mount --bind /storage/.config/system.conf.d/00-quick-shutdown.conf /etc/systemd/system.conf
systemctl daemon-reload