Commit 8d4cf4c5 authored by Michele Carpene's avatar Michele Carpene
Browse files

Update a_script_that_runs_after_irods_has_been_initialized.sh

parent 6fbb3482
Pipeline #723 failed with stages
in 3 minutes and 39 seconds
......@@ -8,17 +8,6 @@ echo "#####################################################"
echo "just put something to irods"
iput /app/a_script_that_runs_after_irods_has_been_initialized.sh
# Example Configuration and Usage, this part should be adapted in order to use Minio
iadmin mkresc compResc compound
#iadmin mkresc cacheResc unixfilesystem <hostname>:</full/path/to/Vault>
iadmin mkresc cacheResc unixfilesystem localhost:/var/lib/irods/Vault
#iadmin mkresc archiveResc s3 <hostname>:/<s3BucketName>/irods/Vault "S3_DEFAULT_HOSTNAME=s3.amazonaws.com;S3_AUTH_FILE=</full/path/to/AWS.keypair>;S3_RETRY_COUNT=<num reconn tries>;S3_WAIT_TIME_SEC=<wait between retries>;S3_PROTO=<HTTP|HTTPS>"
iadmin mkresc archiveResc s3 localhost:/s3bucket/irods/Vault "S3_DEFAULT_HOSTNAME=localhost;S3_AUTH_FILE=./AWS.keypair;S3_RETRY_COUNT=3;S3_WAIT_TIME_SEC=1;S3_PROTO=HTTP"
iadmin addchildtoresc compResc cacheResc cache
iadmin addchildtoresc compResc archiveResc archive
iput -R compResc foo.txt
#ireg -R archiveResc /<s3BucketName>/full/path/in/bucket /full/logical/path/to/dataObject
echo "...and loop forever"
while true
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment