1 2 3 4 5 6
#!/bin/bash cd /usr/share/webapps/diaspora export GEM_HOME=${PWD}/vendor ./script/server &>>/var/log/diaspora.log