Skip to content
Browse files

Use OPENSHIFT_LOG_DIR for the log file in order to prevent file permi…

…ssion error.
  • Loading branch information...
1 parent 74b32ff commit 89b7a66486ac099e4ce31bbb7dbd989933ad7ad1 @soegaard soegaard committed Jul 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 .openshift/action_hooks/racket.rc
View
2 .openshift/action_hooks/racket.rc
@@ -26,7 +26,7 @@ do_start()
{
CMD=$NAME
WSARG="-I scheme/init -l- web-server/main.rkt"
- nohup ${CMD} ${WSARG} ${DAEMON_ARGS} > /dev/null 2>racket_launch_errors.log &
+ nohup ${CMD} ${WSARG} ${DAEMON_ARGS} > /dev/null 2>${OPENSHIFT_LOG_DIR}/racket_launch_errors.log &
echo $! >> ${PIDFILE}
}

0 comments on commit 89b7a66

Please sign in to comment.
Something went wrong with that request. Please try again.