diff --git a/README.md b/README.md index dc269b6..ad90ec0 100644 --- a/README.md +++ b/README.md @@ -31,9 +31,10 @@ After creation: read IP_ADDRESS scp bootstrap.sh root@$IP_ADDRESS: ssh root@$IP_ADDRESS -./bootstrap.sh ``` +Then run `./bootstrap.sh` + # 2. Deploy ``` ./scripts/deploy.sh diff --git a/bootstrap.sh b/bootstrap.sh index 051430c..295be48 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -160,7 +160,16 @@ cp systemd/kdrive-rclone.service \ systemctl daemon-reload systemctl enable --now kdrive-rclone -mountpoint /mnt/kdrive +sleep 1 +echo "Mounting kdrive" +sleep 1 +echo "." +sleep 1 +echo ".." +sleep 1 +echo "..." + +mountpoint /mnt/kdrive || {echo "kDrive is still not mounted. Waiting..." && sleep 5 && mountpoint /mnt/kdrive } # if it fails we wait another 5 sec before retrying ls /mnt/kdrive ################################################################################ diff --git a/compose.yml b/compose.yml index 3432869..a70cd52 100644 --- a/compose.yml +++ b/compose.yml @@ -1,7 +1,7 @@ services: caddy: - depends-on: + depends_on: - archivebox image: caddy:latest container_name: caddy