Created
March 24, 2019 01:13
-
-
Save werrpy/26e21510e88c2df675cdeeffb3e074a7 to your computer and use it in GitHub Desktop.
gdrive plex mount systemd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=rclone google drive media mount | |
After=network-online.target | |
[Service] | |
Type=simple | |
ExecStart=/usr/bin/rclone --config /root/gdrive/config/rclone.conf mount media-remote-secret: /mnt/gdrive-media --allow-non-empty --allow-other --read-only --dir-cache-time 48h --vfs-read-chunk-size 32M --vfs-read-chunk-size-limit 2G --tpslimit 5 --tpslimit-burst 5 | |
ExecStop=/bin/fusermount -quz /mnt/gdrive-media | |
Restart=on-abort | |
RestartSec=5 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment