Sebastian Geib wrote:
> Monit started the application servers using sudo -u admin
> 'mongrel_cluster_stuff' until now. I now changed that to be su - admin
> -c 'mongrel_cluster_stuff' and it appears to be working.

You could also use:

$ sudo -H -u admin mongrel_rails start

The -H (HOME) option sets the HOME environment variable to the homedir 
of the target user.

Jonathan


-- 
Jonathan Weiss
http://blog.innerewut.de
http://twitter.com/jweiss

--~--~---------~--~----~------------~-------~--~----~
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