[Buildroot] To stop a systemd service from starting by default

Srijan Nandi - Gmail srijan.nandi at gmail.com
Sun Jul 5 12:57:31 UTC 2020


Hello All,

I am trying to stop certain systemd services from starting up by default. I have added the following lines in 80-buildroot.preset,

disable dhcpcd.service
disable nginx.service
disable ntpd.service
disable org.cups.cupsd.service
disable org.cups.cups-lpd at .service
disable postgresql.service
disable redis.service
disable rsyslog.service
disable sshd.service
disable strongswan.service
disable suricata.service

But still when I boot, all the services are trying to start causing the boot to fail. Can anyone tell me where to put the presets, to stop then from starting up by default.


Thanks and Regards,
-=Srijan Nandi


More information about the buildroot mailing list