mirror of
https://github.com/garethgeorge/backrest.git
synced 2025-12-04 21:05:32 +00:00
13 lines
213 B
Bash
Executable File
13 lines
213 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
BASEDIR=$(dirname "$0")
|
|
RUNDIR=$1
|
|
|
|
if [ -z "$RUNDIR" ]; then
|
|
echo "Usage: $0 <run-dir>"
|
|
exit 1
|
|
fi
|
|
|
|
go run $BASEDIR/../../cmd/backrest --config-file=$RUNDIR/config.json --data-dir=$RUNDIR
|
|
|