use pid to avoid permission problems for logfile in /tmp

This commit is contained in:
relay 2010-10-07 19:48:38 -07:00
parent f2ad6d92b4
commit 680b2f31b3

View file

@ -7,7 +7,7 @@ CONFFILE=${DIR}/xwrelay.conf
IDFILE=${DIR}/nextid.txt
CSSFILE=${DIR}/xwrelay.css
LOGFILE=/tmp/xwrelay_log.txt
LOGFILE=/tmp/xwrelay_log_$$.txt
#LOGFILE=/dev/null
date > $LOGFILE