Recommend absolute paths in create-tarballs.sh.

Some of these paths might work okay if configured relative to the
working directory.  But it's safer to just use absolute paths.  This
works fine on the main CollecTor instance.

Fixes #20179.
This commit is contained in:
Karsten Loesing 2016-10-24 12:29:38 +02:00
parent 8bb7de37ad
commit f4e8983bff

View File

@ -9,11 +9,11 @@
####
# Configuration section:
# The following path should be adjusted, if the CollecTor server layout differs.
# OUTDIR and TARBALLTARGETDIR have to be given absolute or relative to WORKDIR.
ARCHIVEDIR="archive"
WORKDIR="tarballs"
OUTDIR="../out"
TARBALLTARGETDIR="../data"
# All paths should be given absolute.
ARCHIVEDIR="/srv/collector.torproject.org/collector/archive"
WORKDIR="/srv/collector.torproject.org/collector/tarballs"
OUTDIR="/srv/collector.torproject.org/collector/out"
TARBALLTARGETDIR="/srv/collector.torproject.org/collector/data"
### end of configuration section.
#
### script start