Allow script to be invoked from anywhere, or symlink target.
This commit is contained in:
parent
bb67b1231b
commit
ed8878c72a
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue