Can precise a tempdir to gen_site.pl to use another directory instead of TMPDIR
This commit is contained in:
parent
05cfe96d73
commit
d422fe8b64
2 changed files with 15 additions and 3 deletions
|
|
@ -22,7 +22,7 @@ KP1=$!
|
|||
|
||||
TMPF=`mktemp`
|
||||
|
||||
tail -f "$TMPF" | ./gen_site.pl -d -s /tmp/scheduler.sock -bt /challenge/ -ba /challenge-admin/ -o ./out ERRORS HOME all DS &
|
||||
tail -f "$TMPF" | ./gen_site.pl -d -T /dev/shm -s /tmp/scheduler.sock -bt /challenge/ -ba /challenge-admin/ -o ./out ERRORS HOME all DS &
|
||||
KP2=$!
|
||||
|
||||
trap "kill $KP1 $KP2; rm -rf '$TMPF'; echo; kill $$" INT TERM
|
||||
|
|
|
|||
Reference in a new issue