Modify your .htaccess file under your rails or django app directory:
cd ~/awesim_dev/rails1
touch .htaccess
echo "PassengerRestartDir `pwd`/tmp" >> .htaccess
echo "PassengerAppRoot `pwd`" >> .htaccess
So that it looks something like this:
-bash-3.2$ cat .htaccess
RailsEnv development
PassengerRestartDir /nfs/17/efranz/awesim_dev/rails1/tmp
PassengerAppRoot /nfs/17/efranz/awesim_dev/rails1
This will allow touch tmp/restart.txt
to restart the passenger app properly.