Hi.
I have instaled LibreElec on a NAND unit and I have a side effect comparing to my previous instalation on SD card.
It's too fast!
I need to wait unit my external unit is mounted.
I see it mounted at /var/media/sda-usb-TOSHIBA_MQ01ABD0
Code
LibreELEC:~/.kodi/addons/service.transmission/system.d # systemctl list-units | grep -i toshiba
var-media-sda\x2dusb\x2dTOSHIBA_MQ01ABD0.mount loaded active mounted /var/media/sda-usb-TOSHIBA_MQ01ABD0
I have tried this.
Code
[Unit]
After=network-online.target
Requires=network-online.target
After=var-media-sda\x2dusb\x2dTOSHIBA_MQ01ABD0.mount
Requires=var-media-sda\x2dusb\x2dTOSHIBA_MQ01ABD0.mount
But not is working, looks like not wait for the unit.
I have made a workaround putting a "sleep 5s" inside the sh that launch the addon, but I prefer the systemd approach.
Why is not working?