Tool/software:
Hello bro;
I have two questions:
1. How to disable a self-starting service?
2. How to add a new service for Systemd?
Looking forward to your reply!
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hello bro;
I have two questions:
1. How to disable a self-starting service?
2. How to add a new service for Systemd?
Looking forward to your reply!
Hi Yongyan,
How to disable a self-starting service?
sudo systemctl disable <service_name>
Replace <service_name> with the actual name of the service.
How to add a new service for Systemd?
Please refer the below references for how to enable systemd services using yocto.
https://stackoverflow.com/questions/45614578/enable-systemd-services-using-yocto
https://wiki.koansoftware.com/index.php/Add_a_systemd_service_file_into_a_Yocto_image#Using_systemd
Hope this helps
Best Regards,
Suren