Config dump.
This commit is contained in:
@@ -5,11 +5,21 @@ Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
# Use Environment to explicitly set $HOME
|
||||
Environment=HOME=%h
|
||||
ExecStartPre=%h/.local/bin/rclone_mount_check.sh
|
||||
ExecStart=/usr/bin/rclone mount tdnde_ftp: %h/mnt/tdnde_server --vfs-cache-mode full --vfs-cache-max-size 1G --ftp-concurrency 20 --timeout 60s --contimeout 30s --dir-cache-time 1h
|
||||
ExecStop=/bin/fusermount -u %h/mnt/tdnde_server
|
||||
ExecStartPre=-/bin/fusermount -uz %h/mnt/tdnde_server
|
||||
ExecStart=/usr/bin/rclone mount tdnde_ftp: %h/mnt/tdnde_server \
|
||||
--vfs-cache-mode full \
|
||||
--vfs-cache-max-size 4G \
|
||||
--vfs-read-chunk-size 4M \
|
||||
--vfs-read-chunk-size-limit 128M \
|
||||
--buffer-size 32M \
|
||||
--ftp-concurrency 20 \
|
||||
--timeout 300s \
|
||||
--contimeout 60s \
|
||||
--dir-cache-time 1h
|
||||
ExecStop=/bin/fusermount -uz %h/mnt/tdnde_server
|
||||
ExecStopPost=/bin/fusermount -uz %h/mnt/tdnde_server
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
|
||||
Reference in New Issue
Block a user