This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
skynet-webportal/setup-scripts/sia-restart.sh

14 lines
233 B
Bash
Raw Normal View History

2020-09-04 12:55:30 +00:00
#!/bin/bash
set -e # exit on first error
cwd
# get current working directory (pwd doesn't cut it)
cwd=$(cd -P -- "$(dirname -- "$0")" && pwd -P)
# run the sia-stop script
. ${cwd}/sia-stop.sh
# start sia
docker-compose up -d sia