There is no details for scripts at "resumed" state.
Finally, I managed to do it by creating another .service unit file with WantedBy=suspend.target
it relaunches my vpn connection everytime i resumed from suspended mode.
There is no details for scripts at "resumed" state.
Finally, I managed to do it by creating another .service unit file with WantedBy=suspend.target
it relaunches my vpn connection everytime i resumed from suspended mode.
Thank you for answers !
Also I've noticed that when i resume from suspended mode, the wireguard interface is not mounted anymore. Do you have script to launch when device resumes from suspended mom ?
In old threads, i found links to wiki pages that do not exists anymore https://wiki.libreelec.tv/creating_suspe…_resume_scripts
Regards,
Hello,
I've successfully set up wireguard following this guide https://wiki.libreelec.tv/configuration/wireguard.
However in the documentation, the wireguard service is set to start before kodi.service. Could it start after kodi.service ? Because I noticed that if my vpn connection could not be established (for many reasons) the device will be stuck at boot with libreelec logo. Although I need that vpn connection to watch some of my medias it is not mandatory, I also have other medias on local storage. It should not block the whole device to start.
Regards,