0
I need to call a shell script from Rails, with a specific shell user.
Example:
update_response = `#{deploy_dir}/./update.sh`
By default my system is using root user.
I would like to know, given this example, if you have how to specify the user and if you have a means to generalize script calls to the same user.