Skip to content

Commit

Permalink
Fix sts-wire options for cache
Browse files Browse the repository at this point in the history
  • Loading branch information
dciangot authored Jun 13, 2022
1 parent 27e6551 commit 7f4d3ec
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env bash

BASE_CACHE_DIR="/usr/local/share/dodasts/sts-wire/cache"
COMMON_PARAMS=" --localCache full --tryRemount --noDummyFileCheck"

mkdir -p "${BASE_CACHE_DIR}"
mkdir -p /usr/local/share/dodasts/sts-wire/cache
Expand All @@ -13,12 +12,12 @@ mkdir -p /s3/scratch
sleep 1s && nice -n 19 sts-wire https://iam.cloud.infn.it/ \
"${USERNAME}" https://minio.cloud.infn.it/ \
"/${USERNAME}" "/s3/${USERNAME}" \
"${COMMON_PARAMS}" \
--localCache full --tryRemount --noDummyFileCheck \
--localCacheDir "${BASE_CACHE_DIR}/${USERNAME}" \
&>"/var/log/sts-wire/mount_log_${USERNAME}.txt" &
sleep 2s && nice -n 19 sts-wire https://iam.cloud.infn.it/ \
scratch https://minio.cloud.infn.it/ \
/scratch /s3/scratch \
"${COMMON_PARAMS}" \
--localCache full --tryRemount --noDummyFileCheck \
--localCacheDir "${BASE_CACHE_DIR}/scratch" \
&>/var/log/sts-wire/mount_log_scratch.txt &

0 comments on commit 7f4d3ec

Please sign in to comment.