Restart nginx without sudo?
Posted
by tesmar
on Stack Overflow
See other posts from Stack Overflow
or by tesmar
Published on 2010-06-10T01:20:38Z
Indexed on
2010/06/10
1:22 UTC
Read the original article
Hit count: 267
So I want to be able to cap:deploy without having to type any passwords. I have setup all private keys so I can get to the remote servers fine, and am now using svn over ssh, so no passwords there.
I have one last problem, I need to be able to restart nginx. Right now I have sudo /etc/init.d/nginx reload. That is a problem b/c it uses the capistrano password, the one I just removed b/c I am using keys. Any ideas on how to restart nginx w\out a password?
© Stack Overflow or respective owner