Add consistent mounting of the google drive
This commit is contained in:
parent
76edd1009b
commit
56581c5d7e
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user