Skip to content

Commit

Permalink
worker_start: allow ARCHIVE variable override
Browse files Browse the repository at this point in the history
The worker_start.sh script is using archive directory inside
the worker user home which cannot be changed, this patches
allows override ARCHIVE environment variable to address
this issue.

Signed-off-by: Kyr Shatskyy <[email protected]>
  • Loading branch information
Kyr Shatskyy committed Feb 11, 2020
1 parent 95fed4d commit d98a009
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_static/worker_start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# A simple script used by Red Hat to start teuthology-worker processes.

ARCHIVE=$HOME/archive
ARCHIVE=${ARCHIVE:-"$HOME/archive"}
WORKER_LOGS=$ARCHIVE/worker_logs

function start_workers_for_tube {
Expand Down

0 comments on commit d98a009

Please sign in to comment.