LaunchDaemon loading but not starting I created a LaunchDaemon to automatically start a mining client when the computer boots. Here is the .plist file:

&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.example.miner&lt;/string&gt;
    &lt;key&gt;ProgramArguments&lt;/key&gt;
    &lt;array&gt;
        &lt;string&gt;/bin/sh&lt;/string&gt;
        &lt;string&gt;/library/start.sh&lt;/string&gt;
    &lt;/array&gt;
    &lt;key&gt;RunAtLoad&lt;/key&gt;
    &lt;true/&gt;
    &lt;key&gt;KeepAlive&lt;/key&gt;
    &lt;true/&gt;
    &lt;key&gt;StandardOutPath&lt;/key&gt;
    &lt;string&gt;/tmp/com.example.minerout&lt;/string&gt;
&lt;/dict&gt;
&lt;/plist&gt;


The goal of this LaunchDaemon is to start and keep a cryptocurrency miner running when the computer boots. The miner start script is inside the Library folder, and the miner is in the same folder.

Why is the LaunchDaemon loading, but not starting?
Well I figured out the issue after 30 minutes of adjusting the LaunchDaemon. The issue was in the start.sh file. I had forgotten to correctly set the location of the miner.