Re: [yocto] Best practice dynamic service file

2019-03-04 Thread Jonas Andersson
Thanks for the tip, it is a bit sleeker than pulling in an python script. Den tis 5 mars 2019 kl 02:05 skrev ChenQi : > On 03/05/2019 05:46 AM, Jonas Andersson wrote: > > Hi, > > I have an systemd recipe to start an application as a service, i have > included an service file. > Now I am looking

Re: [yocto] Best practice dynamic service file

2019-03-04 Thread ChenQi
On 03/05/2019 05:46 AM, Jonas Andersson wrote: Hi, I have an systemd recipe to start an application as a service, i have included an service file. Now I am looking for an solution to be able to set settings in the service file from Yocto variables, i have found recipes that use python to

[yocto] Best practice dynamic service file

2019-03-04 Thread Jonas Andersson
Hi, I have an systemd recipe to start an application as a service, i have included an service file. Now I am looking for an solution to be able to set settings in the service file from Yocto variables, i have found recipes that use python to build files during build. What is best practice for