Thanks ChenQi, can the process priority be set in ExecStart= of the
xxx.service file?

Thank you.

Kind regards,

- jh

On 8/23/19, ChenQi <qi.c...@windriver.com> wrote:
> On 08/23/2019 05:32 AM, JH wrote:
>> I have two processes launched from a service unit, how can the Yocto
>> customer distro to set up high_priority_process?
>>
>> ExecStartPre=low_priority_priority
>> ExecStart=high_priroty_process
>>
>> Thank you.
>>
>> Kind regards,
>>
>> - jh
>>
>> On 8/22/19, JH <jupiter....@gmail.com> wrote:
>>> Hi,
>>>
>>> How to set up process running priority for services in Yocto build
>>> using renice or some method?
>>>
>>> Thank you.
>>>
>>> Kind regards,
>>>
>>> - jupiter
>>>
> Not sure about your exact needs. But as far as I know, nice value is
> inherited. You can just set it for the shell that starts a yocto build.
> If you are using some scripts, the same logic holds.
>
> Best Regards,
>
> Chen Qi
>
>
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to