Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Add load_on_server script |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
17ddd945a11155f8899b5cb07a261e65 |
User & Date: | chewbranca 2020-04-08 04:47:15 |
Context
2020-04-08
| ||
05:44 | Add home computer to ssh authorized list check-in: 48216d8181 user: chewbranca tags: trunk | |
04:47 | Add load_on_server script check-in: 17ddd945a1 user: chewbranca tags: trunk | |
04:46 | Provide base fossil repo as cli arg check-in: 4535aac932 user: chewbranca tags: trunk | |
Changes
Added bootstrap/bin/load_on_server.
> > > > > > > > > > > > > > > > > > > > > > > |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
#!/usr/bin/env bash #set -x function usage() { echo "Load chewbranca.com Fossil repo on remote server." echo "Usage: $0 host fossil_bin chewbranca_repo" echo "Example: $0 chewbranca.com ~/bin/fossil /opt/museum/chewbranca_com.fossil" exit 1 } if [[ -z "$1" || -z "$2" || -z "$3" ]]; then usage fi HOST=$1 FOSSIL_BIN=$2 CWB_REPO=$3 echo "Loading Fossil repo $CWB_REPO onto $HOST along with fossil binary $FOSSIL_BIN" scp $CWB_REPO root@$HOST:~/ scp $FOSSIL_BIN root@$HOST:~/ |