Skip to content
Snippets Groups Projects
Select Git revision
  • 56395fe30ba78987e3028599ac1057de7d15e56b
  • master default protected
2 results

cfgmgr.pl

Blame
  • create-buckets.sh 386 B
    #!/bin/bash
    function log {
      echo "$(date '+%Y-%m-%d %H:%M:%S') $1"
    }
    
    log "Starting to create buckets dbrepo-upload, dbrepo-download"
    echo "s3.bucket.create -name dbrepo-upload" | weed shell -master="${SEAWEEDFS_ENDPOINT}"
    log "Created bucket dbrepo-upload"
    echo "s3.bucket.create -name dbrepo-download" | weed shell -master="${SEAWEEDFS_ENDPOINT}"
    log "Created bucket dbrepo-download"