Add consistent mounting of the google drive

This commit is contained in:
Isshi0417 2026-07-08 08:04:44 +00:00
parent 76edd1009b
commit 56581c5d7e

View File

@ -56,10 +56,12 @@
ExecStart=/usr/bin/rclone mount gdrive: /mnt/gdrive \
--config /root/.config/rclone/rclone.conf \
--allow-other \
--rc \
--rc-no-auth \
--dir-cache-time 1000h \
--vfs-cache-mode full \
--vfs-cache-max-age 24h
ExecStop=/usr/bin/fusermount3 -u /mnt/gdrive
ExecStop=/usr/bin/fusermount3 -uz /mnt/gdrive
Restart=on-failure
User=root