mirror of
https://github.com/tomasriveral/vps-config.git
synced 2026-08-12 10:30:45 +02:00
wait for kdrive and fix yml
This commit is contained in:
+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
|
||||
|
||||
################################################################################
|
||||
|
||||
Reference in New Issue
Block a user