Periodically in production we get these ruby processes that hang up. I just discovered
passenger-status --show=requests
Which gives me exactly what I want. I want to write some code to build out a super admin panel that will let me click on processes and see what the request is, however, when I run this command I get
ERROR: You are not authorized to query the status for this Phusion Passenger instance. Please try again with 'sudo'
Is there a way to authorize my user (deploy) to run this, rather than force sudo?