Skip to content

Commit

Permalink
pull from prod server
Browse files Browse the repository at this point in the history
  • Loading branch information
uzulla committed Dec 20, 2015
1 parent 6669a5e commit 1649af2
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions start.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
#!/bin/sh

twiggy_opt="-l :3000"
if [ "$YANCHA_DEBUG" != "" ] ; then
if [ $YANCHA_DEBUG -gt 0 ] ; then
twiggy_opt="$twiggy_opt -r"
fi
fi
carton exec -- twiggy $twiggy_opt chat.psgi

#export YANCHA_DEBUG=1
#carton exec -- twiggy -l :3000 --access-log access_log chat.psgi &
#echo $! > yancha.pid
#carton exec -- twiggy -l :3000 chat.psgi
#export PERL_ANYEVENT_LOG="filter=trace:log=+%file:%file=file=/tmp/mylog"
export YANCHA_DEBUG=1
#export POCKETIO_HANDLE_DEBUG=1
#export POCKETIO_CONNECTION_DEBUG=1
#export POCKETIO_POOL_DEBUG=1
#export POCKETIO_RESOURCE_DEBUG=1
#export POCKETIO_DEBUG=1
carton exec -- twiggy -l :3000 --access-log access_log chat.psgi &
echo $! > yancha.pid

0 comments on commit 1649af2

Please sign in to comment.