Wednesday, 7 March 2012

deploy rails with different user roles.

Using capistrano we can set the user running the application different from the user owning the files and folder of the application.

set :app_runtime_user, "123"
set :app_runtime_group, "123group"

set :user, "abc"

"abc" will own the folders and "123" will run the application.

No comments:

Post a Comment