4

I want to start up the Jenkins service installed on my mac automatically while system reboots after power loss. Can anyone please suggest to me how we can restart Jenkins automatically.

Rohit Gupta
  • 4,022
  • 20
  • 31
  • 41
Lakshmi Reddy
  • 313
  • 5
  • 17

1 Answers1

3

The OS X installer provided for Jenkins will create a service to start it automatically after reboot.

The service uses launchd to run a scheduled job that checks whether Jenkins is running and starts it if not. There are a couple of links to further details at the top of the Jenkins Wiki page, but this page may be a better overview for you.

gareth_bowles
  • 20,760
  • 5
  • 52
  • 82
  • Thanks **gareth_bowles**, I gone through above OSX Installer page there i am unable to find any info. related to automatically starting the jenkins service, Can you please explain me bit clear if u get some time. – Lakshmi Reddy Oct 11 '15 at 15:20
  • Amended my answer to link to details on the MacOS launch daemon, which controls the Jenkins service. – gareth_bowles Oct 12 '15 at 15:34