How to restart server after deployment?
I want to use deployment and releases tool instead of capistrano for deployment. Everything works as advertised but I need an option to restart passenger after deployment to make changes active. I acctualy just need to run one simple command: touch restart.txt after deployment. Is this possible to do?
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Hmm, we have web-hooks for commits, but not deployments. Maybe you can have a script that watches for commits using web-hooks and if you trigger [deploy:production] if will run that command.
Someone wrote an article about Passenger and Beanstalk:
http://julianschrader.de/20090312-dep...
Chris -
Inappropriate?If I restart server after commit, deployment wouldn't be finished by that moment. No good. I found out about this feature on that blog post :) I sent him a question how did he solved this. Thanks Chris.
Loading Profile...



EMPLOYEE