Allow script to be invoked from anywhere, or symlink target.

This commit is contained in:
Alec Leamas 2010-10-16 13:45:03 +02:00
parent bb67b1231b
commit ed8878c72a

View file

@ -3,6 +3,9 @@
# Start diaspora websocket and main services
#
realpath=$( ruby -e "puts File.expand_path(\"$0\")")
cd $( dirname $realpath)/..
PORT=3000
THIN_ARGS="$@"
while [ $# -gt 0 ]; do