-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Protect file system from mid-deploy failures #114
Comments
Question, why not: Keep the templating stage inside the app dir, symlink vhosts and includes (or any other filesystem updates) to said templating stage via the deployed dir's |
What @stefanor described was actually how I thought it worked now. |
@beck: That is probably even better, yes. But it won't work for everything. Upstart monitors job file changes with inotify, and won't detect the symlink swap. Other things may, too. |
When a symlink is touched do the monitors fire? If yes, then content changes could happen with a single swing followed by a touch of all incoming symlinks. This may be a bit of an over-engineered solution for our needs, I think your approach would be good enough. I'm just experiencing some PTSD when I had to use WordPress and deploying an update made everything explode. |
No, upstart explicitly ignores symbolic links. |
@stefanor has plans for this:
The text was updated successfully, but these errors were encountered: