Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Unit]
- Description=Gmedia RClone Mount Service
- After=network-online.target
- [Service]
- Type=notify
- ExecStart=/usr/bin/rclone mount \
- --config=/root/.config/rclone/rclone.conf \
- --log-level=DEBUG \
- --log-file=/opt/rclone/logs/rclone-mount.log \
- --user-agent=muffinsdrive \
- --umask=002 \
- --gid=0 \
- --uid=0 \
- --allow-other \
- --timeout=1h \
- --poll-interval=15s \
- --dir-cache-time=1000h \
- --cache-dir=/opt/rclone/cache/gmedia \
- --vfs-cache-mode=full \
- --vfs-cache-max-size=150G \
- --vfs-cache-max-age=12h \
- gdrive-media-crypt: /mnt/gmedia-cloud
- ExecStop=/bin/fusermount -uz /mnt/gmedia-cloud
- Restart=on-abort
- RestartSec=5
- StartLimitInterval=60s
- StartLimitBurst=3
- KillMode=None
- [Install]
- WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement