Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to stop and start Jenkins on Mac [duplicate]

Tags:

macos

jenkins

I installed Jenkins on my Mac local machine. It is running and working fine. What is the right way to stop and start the server from terminal?

like image 255
Sinshaw Demisse Avatar asked Dec 07 '17 20:12

Sinshaw Demisse


People also ask

What is the command to restart Jenkins?

To restart Jenkins, use the following command: sudo systemctl restart jenkins.


1 Answers

You might be able to use launchctl for starting and stopping Jenkins.

Start

sudo launchctl load /Library/LaunchDaemons/org.jenkins-ci.plist

Stop

sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist
like image 68
Gillsoft AB Avatar answered Oct 15 '22 18:10

Gillsoft AB