title: Ubuntu 14.04 - pm2 startup not starting after reboot
body: <p>I am using pm2 to start a node.js process, and I would like this process to be started automatically when the system (Ubuntu 14.04 on Intel Atom processor) is booted. I have followed the instructions on the <a href="http://pm2.keymetrics.io/docs/usage/startup/#startup-systems-support" rel="noreferrer">pm2 web site</a> but without success. My dump.pm2 appears to be correct, but the pm2 daemon is never started. I have tried both the <code>ubuntu</code> and <code>linux</code> options to <code>pm2 startup</code>, as well as autodetect, both with and without a specified user. Files (links) <code>S20pm2-init.sh</code> have been created in <code>/etc/rc[2-5].d</code> but nothing gets started. I can't find find any obvious error messages in the system log.</p>
  
  <p>Any ideas?</p>
  
  <p><strong>Edit to add</strong></p>
  
  <p>I find that
      <code>service pm2-init.sh start</code> starts the daemon correctly, when run from my login account, which is the same as that defined by <code>USER=</code> in the file <code>/etc/init.d/pm2-init.sh</code>. I've made sure the <code>PM2_HOME</code> definition in this file points to the correct place as well. However, it still doesn't start on system boot!</p>