adicu / adicu.github.com-dep

The old adicu.com developed with jekyll and GitHub Pages
http://old.adicu.com/
6 stars 12 forks source link

`vagrant up` only works the first time #259

Closed znewman01 closed 10 years ago

znewman01 commented 10 years ago

This is because supervisord starts before the shared /vagrant folder is mounted and gives up.

Fix this by either

znewman01 commented 10 years ago

I think you can fix this by:

  1. Removing /etc/init.d/supervisor
  2. Writing to /etc/init/supervisor.conf (do this but I think you should get rid of the --nodaemon or --configuration /etc/supervisord.conf options. Plus, change start on to vagrant mounted, as described here.

After verifying that this works (vagrant reload, then test if the site loads on http://localhost:4000), modify develop/provision.sh to do the two steps above automatically on provision, then test again after a vagrant halt, vagrant destroy and vagrant up.

samw7823 commented 10 years ago

When I try removing the /etc/init.d/supervisor I get rm: cannot remove `supervisor': Permission denied.

natebrennand commented 10 years ago

you might need to use sudo with command. guide

samw7823 commented 10 years ago

Thanks! It worked.

znewman01 commented 10 years ago

great! let me know if you have any questions about putting it in the script, or git/github workflow to get it merged in upstream

On Tue, Feb 11, 2014 at 11:53 AM, samw7823 notifications@github.com wrote:

Thanks! It worked.

Reply to this email directly or view it on GitHubhttps://github.com/adicu/adicu.github.com/issues/259#issuecomment-34774485 .