I have a dedicated server that runs about 10 Rails applications using Nginx, Unicorn and Ruby 1.9.2, etc. I also use capistrano for deployment.
What I need are tips on best practices for starting and deploying these applications.
Each application has its own home directory and user account. However, at the moment I have a setting in the sudoers file so that they can restart the application after deployment (I have capistrano configured to run restart.sh script). This means that I must enter the user password during deployment (capistrano asks me when I try to start restart.sh).
Is it possible to configure configuration daemons to run without sudo permissions?
Is there a better way to do this?
Cheers, James
source share