Config dump.

This commit is contained in:
2026-07-06 16:53:38 -04:00
parent 8e9204bc21
commit bf462da948
17 changed files with 914 additions and 335 deletions

View File

@@ -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]