wait for kdrive and fix yml

This commit is contained in:
2026-07-23 22:34:42 +02:00
parent 2eb2f6b57b
commit 907d4892ab
3 changed files with 13 additions and 3 deletions
+2 -1
View File
@@ -31,9 +31,10 @@ After creation:
read IP_ADDRESS read IP_ADDRESS
scp bootstrap.sh root@$IP_ADDRESS: scp bootstrap.sh root@$IP_ADDRESS:
ssh root@$IP_ADDRESS ssh root@$IP_ADDRESS
./bootstrap.sh
``` ```
Then run `./bootstrap.sh`
# 2. Deploy # 2. Deploy
``` ```
./scripts/deploy.sh ./scripts/deploy.sh
+10 -1
View File
@@ -160,7 +160,16 @@ cp systemd/kdrive-rclone.service \
systemctl daemon-reload systemctl daemon-reload
systemctl enable --now kdrive-rclone 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 ls /mnt/kdrive
################################################################################ ################################################################################
+1 -1
View File
@@ -1,7 +1,7 @@
services: services:
caddy: caddy:
depends-on: depends_on:
- archivebox - archivebox
image: caddy:latest image: caddy:latest
container_name: caddy container_name: caddy