title: Sonatype Nexus - Service not starting on launch - MAC
body: <p>Okay so following the instructions here</p>
  
  <p><a href="http://books.sonatype.com/nexus-book/reference/install-sect-service.html" rel="nofollow noreferrer">http://books.sonatype.com/nexus-book/reference/install-sect-service.html</a></p>
  
  <p>I take the example plist file</p>
  
  <pre><code>  &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
      "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
  &lt;plist version="1.0"&gt;
  &lt;dict&gt;
      &lt;key&gt;Label&lt;/key&gt;
      &lt;string&gt;com.sonatype.nexus&lt;/string&gt;
      &lt;key&gt;ProgramArguments&lt;/key&gt;
      &lt;array&gt;
          &lt;string&gt;/usr/local/nexus/bin/nexus&lt;/string&gt;
          &lt;string&gt;console&lt;/string&gt;
      &lt;/array&gt;
      &lt;key&gt;RunAtLoad&lt;/key&gt;
      &lt;true/&gt;
  &lt;/dict&gt;
  &lt;/plist&gt;
  </code></pre>
  
  <p>and stick it in my /Library/LaunchDeamons folder (I have also tries /System/Library/LaunchDeamons to no avail).</p>
  
  <p>I have set the permissions on the file as specified in the documentation and I can even load the file manually using :</p>
  
  <pre><code>sudo launchctl load /Library/LaunchDaemons/com.sonatype.nexus.plist
  </code></pre>
  
  <p>However this does not start the service.</p>
  
  <p>I can start the Nexus instance manually using this command from the terminal.</p>
  
  <pre><code>/usr/local/nexus/bin/nexus console
  </code></pre>
  
  <p><strong>However</strong> on reboot of the device this service is not being launched and I still have to go back into the Terminal and manually call the command to start the Nexus instance.</p>
  
  <p>Can anyone point me in a direction that might fix this? (Brand new to LaunchDeamons)</p>
  
  <p>The console output is shown <img src="https://i.stack.imgur.com/Cm80d.png" alt="enter image description here"></p>
  
  <p>Thanks
  Aiden</p>