title: Autostart a Tmuxinator project on bootup under Ubuntu
body: <p>I have configured a <strong>Tmuxinator project</strong> I want to have running on my server at all times. What bugs me is that I did not manage to get it to <strong>start automatically</strong> after (unexpected) reboots. Here's what I have tried so far:</p>
  
  <ol>
  <li><p>Editing <strong>/etc/rc.local</strong> so that it now contains:</p>
  
  <pre><code>mux start project &amp;
  exit 0
  </code></pre></li>
  <li><p>(Following <a href="http://www.stuffaboutcode.com/2012/06/raspberry-pi-run-program-at-start-up.html" rel="nofollow">this guide</a>) creating a script that contains</p>
  
  <pre><code>case "$1" in
      start)
      echo "Starting muxproject"
      mux start project
      ;;
  </code></pre>
  
  <p>and configuring it with</p>
  
  <pre><code>sudo update-rc.d NameOfYourScript defaults
  </code></pre></li>
  <li><p>(From the same guide:) Editing <strong>etc/xdg/lxsession/LXDE/autostart</strong> and adding the line</p>
  
  <pre><code>@mux start project
  </code></pre>
  
  <p>to it.</p></li>
  </ol>
  
  <p>None of the above has worked. How can this be achieved?</p>