rclone dir moved
This commit is contained in:
@@ -1,16 +1,16 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Gdrive (rclone)
|
Description=Gdrive (rclone)
|
||||||
AssertPathIsDirectory=/mnt/hdd1/gdrive
|
AssertPathIsDirectory=~/gdrive
|
||||||
# Make sure we have network enabled
|
# Make sure we have network enabled
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=notify
|
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
|
# 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 the service whenever rclone exists with non-zero exit code
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|||||||
Reference in New Issue
Block a user