title: How to configure Laravel Homestead to start beanstalkd queue worker after provisioning/booting?
body: <p>I am down with setting up Homestead and all. Now I am trying to start the queue worker daemon after each provisioning / vagrant up. How can I accomplish that?</p>
  
  <p>I have tried to add the following to my <code>.homestead/after.sh</code> file:</p>
  
  <pre><code>nohup php project_name/artisan queue:work local --daemon --sleep=3 --tries=3 &gt;&gt; /dev/null 2&gt;&amp;1
  </code></pre>
  
  <p>But no luck. My console starts hanging and the vagrant/ruby processes must be killed.</p>
  
  <p>Not sure if this is the right place to put it at all? Or does it need to be somewhere else, so it will be started on each <code>vagrant up</code>?</p>