I installed Jenkins on Ubuntu and when I don\'t use I enter the command:
systemctl stop jenkins
after system started to stop Jenkins.