Question : Due to some reason, I had to stop a service on linux CentOS 7. But when i restarted the server, the service starts again automatically. How to stop or disabled auto start services at boot ?
Answer : Just issue the following command to disabled auto start for particular service.
Syntax :
sudo systemctl disable <service-named>.service
Example :
[root@centos7 ~]# sudo systemctl disable named-chroot.service rm '/etc/systemd/system/multi-user.target.wants/named-chroot.service'