On Aug 13, 2007, at 12:56 PM, goodieboy wrote:

> Hmm, OK. So my deployer user calls capistrano, and from there
> capistrano does all sorts of things (creating directories, moving
> things, occasionally restarting apache). How do I know what I have to
> list in the sudoers file?

The only commands that have to be in the sudoers file are the  
privileged commands.  If the deploy user owns the directories, or is  
in a group that has permissions on the directories, then you'll need  
to put in commands for just restarting apache, or mongrel, or that  
sort of thing.  Everything else should be done as the user doing the  
deploy (probably).

Cheers,
-j

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to