Ha! I found a solution: deadly simple. Use "user" and "group" to start the service and clusters with the depending user.
Just use the config file in a correct way: ---- cwd: /var/www/vhosts/mydomain.com/subdomains/vacancies/apps/vacancies/ current port: "8000" user: mydomainuser group: psacln environment: production address: 127.0.0.1 pid_file: log/mongrel.pid servers: 3 On 19 Okt., 12:23, Rafael <[EMAIL PROTECTED]> wrote: > Hi everybody, > > may somebody can hold my hand here? > when I start the servers with capistrano: cap deploy:start|restart > In this case all the servers (mongrel cluster) start with the right > user. > > But if I restart the server (hardware) and/ or all the services > restart, mongrel_cluster is gonna be started as root. > > Does anyboy know, what I could do, that each process has its own user? > I tried it with that (mongrel_cluster.yml): > > -------- > cwd: /var/www/vhosts/mydomain.com/subdomains/vacancies/apps/vacancies/ > current > port: "8000" > user: mydomainuser > environment: production > address: 127.0.0.1 > pid_file: log/mongrel.pid > servers: 3 > > Thank you for your help, any help is very appreciated. > > Kind regards > > Rafael --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
