Lines 37-44
else
Link Here
|
37 |
fi |
37 |
fi |
38 |
export INTRANET # pass to plack |
38 |
export INTRANET # pass to plack |
39 |
|
39 |
|
40 |
# uncomment to enable logging |
40 |
# comment to disable logging |
41 |
#opt="$opt --access-log $LOGDIR/opac-access.log --error-log $LOGDIR/opac-error.log" |
41 |
if [ "$INTRANET" -eq "0" ]; then |
|
|
42 |
opt="$opt --access-log $LOGDIR/opac-access.log --error-log $LOGDIR/opac-error.log" |
43 |
else |
44 |
opt="$opt --access-log $LOGDIR/intranet-access.log --error-log $LOGDIR/intranet-error.log" |
45 |
fi |
42 |
|
46 |
|
43 |
# --max-requests 50 decreased from 1000 to keep memory usage sane |
47 |
# --max-requests 50 decreased from 1000 to keep memory usage sane |
44 |
# --workers 4 number of cores on machine |
48 |
# --workers 4 number of cores on machine |
45 |
- |
|
|