running the /usr/bin binary using the systemd service.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

running the /usr/bin binary using the systemd service.

605 Views
sbmd_1234
Contributor III

Hi NXP Team,

I want to run the binary with the help of service as soon as the device is booted and get the logs on the console prompt.

For that, I've created the recipe and I can see that the service is enabled and also active but I don't get logs on the console.

Use case of binary: The binary should print logs continuously on the console.


Could you please help me with this?


Thanks.

0 Kudos
Reply
1 Reply

584 Views
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @sbmd_1234 

I hope you are doing very well.

 

Please refer here to the Step 1 and 2. There is mentioned how to make boot scripts to run a service while the device is running.

Best regards,

Salas.

0 Kudos
Reply