Created
March 13, 2013 07:53
-
-
Save ijin/5150096 to your computer and use it in GitHub Desktop.
rbenv enalbed passenger-memory-stats
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export PATH=/usr/local/rbenv/shims:/usr/local/rbenv/bin:$PATH | |
# Passenger needs to find httpd for passenger-memory-stats | |
export HTTPD=/opt/nginx/sbin/nginx | |
source /usr/local/rbenv/completions/rbenv.bash | |
rbenv rehash | |
passenger-memory-stats $2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment