-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |