rclone dir moved

This commit is contained in:
Henrik Bakken
2025-08-03 22:00:21 +02:00
parent 66e8412372
commit 0a0cafe274
+3 -3
View File
@@ -1,16 +1,16 @@
[Unit]
Description=Gdrive (rclone)
AssertPathIsDirectory=/mnt/hdd1/gdrive
AssertPathIsDirectory=~/gdrive
# Make sure we have network enabled
After=network.target
[Service]
Type=notify
ExecStart=/usr/bin/rclone mount --vfs-cache-mode full gdrive: /mnt/hdd1/gdrive
ExecStart=/usr/bin/rclone mount --vfs-cache-mode full gdrive: ~/gdrive
# Perform lazy unmount
ExecStop=/usr/bin/fusermount -zu /mnt/hdd1/gdrive
ExecStop=/usr/bin/fusermount -zu ~/gdrive
# Restart the service whenever rclone exists with non-zero exit code
Restart=on-failure