I need help, I have a service currently configured and running. Here is how my code looks like
However, this service start running before the network is ready. I tried enable "systemd-networkd-wait-online.service" based on what i get from google search. However, the problem still persists. How to solve this? I would like to avoid using the raspi-config option to wait for network as my Pi could have other use.
Code: Select all
[Unit] Description=Service1 Wants=network-online.target After=network-online.target [Service] Type=simple WorkingDirectory=/../../ ExecStart=/../../.. User=pi Restart=always [Install] WantedBy=multi-user.target
Thanks in advance.