Re: [yocto] Make the service the last run in boot

2019-08-02 Thread JH
Terrific, that works well, thanks Rudolf and ChenQi. On 8/2/19, Rudolf J Streif wrote: > Adding > > After=multi-user.target > > to the [Unit] section in your systemd service file should do what you want. > > :rjs > > On 8/1/19 4:08 AM, JH wrote: >> The application requires network connection to

Re: [yocto] Make the service the last run in boot

2019-08-01 Thread ChenQi
On 08/01/2019 07:08 PM, JH wrote: The application requires network connection to communicate services via Internet, it could only work if the network connection is ready, so I really want to know which system servuce run at last I could put it in the After statement. If you app only requires

Re: [yocto] Make the service the last run in boot

2019-08-01 Thread Rudolf J Streif
Adding After=multi-user.target to the [Unit] section in your systemd service file should do what you want. :rjs On 8/1/19 4:08 AM, JH wrote: > The application requires network connection to communicate services > via Internet, it could only work if the network connection is ready, > so I

Re: [yocto] Make the service the last run in boot

2019-08-01 Thread JH
The application requires network connection to communicate services via Internet, it could only work if the network connection is ready, so I really want to know which system servuce run at last I could put it in the After statement. On 8/1/19, ChenQi wrote: > On 08/01/2019 03:37 PM, JH wrote:

Re: [yocto] Make the service the last run in boot

2019-08-01 Thread ChenQi
On 08/01/2019 03:37 PM, JH wrote: Hi, How can I find the systemd last run service I can put it in my network application After=? I need my network application service to be run at last in boot, I made After=connman and Requires=connman.service that did not work, always failed in boot, I have

[yocto] Make the service the last run in boot

2019-08-01 Thread JH
Hi, How can I find the systemd last run service I can put it in my network application After=? I need my network application service to be run at last in boot, I made After=connman and Requires=connman.service that did not work, always failed in boot, I have to manually restart the network