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?
To restart Jenkins, use the following command: sudo systemctl restart jenkins.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With