rclone: fix auto-reconnect (RestartSec=60, StartLimitIntervalSec=0) — avoid start-limit-hit when wifi not ready at boot
This commit is contained in:
@@ -2,10 +2,12 @@
|
||||
Description=Mount Rclone FTP
|
||||
After=network-online.target network.target
|
||||
Wants=network-online.target
|
||||
StartLimitIntervalSec=0
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Environment=HOME=%h
|
||||
RestartSec=60
|
||||
ExecStartPre=%h/.local/bin/rclone_mount_check.sh
|
||||
ExecStartPre=-/bin/fusermount -uz %h/mnt/tdnde_server
|
||||
ExecStart=/usr/bin/rclone mount tdnde_ftp: %h/mnt/tdnde_server \
|
||||
|
||||
Reference in New Issue
Block a user