Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Unit]
- Description=rClone gDrive TV Mount
- AssertPathIsDirectory=/union/tv
- After=network-online.target
- [Service]
- User=media
- Group=flix
- Type=simple
- #ExecStart=/home/finleyadmin/bin/pd4 -c /home/finleyadmin/.plexdrive --chunk-size=10M --clear-chunk-age=1m -t /mnt/tmp -v 3 -o allow_other,read_only -v 3 /cloud/flix
- #ExecStart=/home/finleyadmin/bin/plexdrive mount -v 3 -c /home/finleyadmin/.plexdrive --refresh-interval=1m --chunk-check-threads=8 --chunk-load-threads=8 --chunk-load-ahead=12 --chunk-size=10M --max-chunks=500 --fuse-options=allow_other,read_only /union/media
- #Environment=RCLONE_CONFIG=/srv/.config/rclone/rclone.conf
- ExecStart=/usr/bin/rclone mount \
- --config /srv/.config/rclone/rclone.conf \
- --rc \
- --rc-addr=localhost:5538 \
- --log-file=/srv/.logs/rclone/gdrive-tv.log \
- --log-level INFO \
- --uid 1001 \
- --gid 1002 \
- --umask 002 \
- --allow-non-empty \
- --allow-other \
- --fuse-flag sync_read \
- --dir-cache-time=160h \
- --buffer-size=64M \
- --transfers=8 \
- --poll-interval=15m \
- --fast-list \
- --attr-timeout=1s \
- --vfs-read-chunk-size=64M \
- --vfs-read-chunk-size-limit=2G \
- --vfs-cache-max-age=180m \
- --vfs-cache-mode=writes \
- --cache-dir /media/tmp/trasncoding-temp \
- --tpslimit=20 \
- gdrive-tv:/ /gdrive/tv
- #ExecStop=/bin/umount -l /cloud/media
- ExecStop=/bin/fusermount -uz /gdrive/tv
- Restart=always
- RestartSec=30
- StartLimitInterval=60s
- StartLimitBurst=3
- [Install]
- WantedBy=default.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement