13

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?

Sinshaw Demisse
  • 232
  • 1
  • 3
  • 12

1 Answers1

40

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
Gillsoft AB
  • 4,185
  • 2
  • 19
  • 35
  • if you have installed using brew then use this command "brew services start jenkins-lts" replace lts with any version you have installed – Tousif Aug 24 '20 at 15:57