Reputation: 1985
I am experimenting with Docker. When I install containers, they conflicts to my existing Jenkins port. I am not using Jenkins at this case. How to prevent Jenkins to run on start-up.
Upvotes: 5
Views: 6934
Reputation: 799
sudo systemctl disable jenkins.service
This command will prevent systemd from starting jenkins the next time you reboot.
To enable autostart again, use:
sudo systemctl enable jenkins.service
Upvotes: 12
Reputation: 1433
On Ubuntu in the /etc/rc.local
you could delete /etc/init.d/jenkins start
Another idea could be to go through chkconfig, and remove Jenkins:
chkconfig --del jenkins
Upvotes: 4