mirror of
https://github.com/tomasriveral/vps-config.git
synced 2026-08-11 18:18:38 +02:00
should work now
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=Mount kDrive with rclone
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
ExecStart=/usr/bin/rclone mount kdrive: /mnt/kdrive \
|
||||
--allow-other \
|
||||
--vfs-cache-mode full \
|
||||
--dir-cache-time 1h
|
||||
ExecStop=/bin/fusermount -u /mnt/kdrive
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user