mirror of
https://github.com/tomasriveral/vps-config.git
synced 2026-08-11 18:18:38 +02:00
wait for kdrive and fix yml
This commit is contained in:
@@ -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
|
||||
|
||||
+10
-1
@@ -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
|
||||
|
||||
################################################################################
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
services:
|
||||
|
||||
caddy:
|
||||
depends-on:
|
||||
depends_on:
|
||||
- archivebox
|
||||
image: caddy:latest
|
||||
container_name: caddy
|
||||
|
||||
Reference in New Issue
Block a user