title: run custom init: Failed to spawn homepage main process: unable to execute: No such file or directory
body: <p>I'm getting an error on my ubuntu 14.04 box, when I run my custom init script in <code>/etc/init/homepage.conf</code></p>
  
  <p>I'm trying to run it via:</p>
  
  <pre><code>sudo start homepage
  </code></pre>
  
  <p>I keep getting:</p>
  
  <pre><code>start: Job failed to start
  </code></pre>
  
  <p>in the logs under <code>/var/log/syslog</code>:</p>
  
  <pre><code>init: Failed to spawn homepage main process: unable to execute: No such file or directory
  </code></pre>
  
  <p>I tried researching it, but cannot seem to pinpoint why this is happening.</p>
  
  <p><strong><code>homepage.conf</code> contains:</strong></p>
  
  <pre><code>start on runlevel [2345]
  stop on runlevel [!2345]
  
  #setuid user
  setuid homepage
  setgid www-data
  
  env PATH=/home/myuser/venv/bin
  chdir /home/jd/venv
  exec uwsgi --ini home.ini
  </code></pre>
  
  <p><strong>home.ini contains:</strong></p>
  
  <pre><code>module = wsgi_prod
  master=true
  processes=5
  socket = homepage.sock
  chmod-socket = 660
  vacuum = true
  </code></pre>
  
  <p>die-on-term = true</p>
  
  <p>The permissions for under: /home/myuser/venv are: </p>
  
  <pre><code> [user]   [group]
  homepage:homepage 
  </code></pre>
  
  <p>Does anyone see what I'm doing wrong? Thank you.</p>