ruby on rails - Which user is running my app? -



ruby on rails - Which user is running my app? -

on ubuntu server apache2/rails 3.0.3 i'd know wich user runs app.

documentation , lot of sources on net says owner of config/environnement.rb 1 running app.

if ps -aux|grep apache, can see processes www-data owner. there no passenger or ruby or rails processes.

how can know sure wich user running rails app?

use ps aux | grep -i passenger or if doesn't result in anything, ps aux | grep -i /application/directory/

if it's running passenger app, homecoming passenger processes. specifically, you'll looking passenger applicationspawner: /your/app/public/

ruby-on-rails apache2 passenger

Comments

Popular posts from this blog

java - How to pass parameters between Request-Scoped Controllers? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -

string - what is the difference between "some" == "some\0" and strcmp("some","some\0") in c++? -