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

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -