I have tried “network-online.target” and it works. The only downside is that it takes 2 mins to open the app. It is much more faster If i manually login as root and open the app. May i know if there is any solution for this? Like example changing the .sh file.
Thanks for the help. After reading NetworkTarget, it says “network-online.target” requires delay. The alternative approach is using “network.target” and give my app the ability to set network configuration.