Last active
August 17, 2022 12:23
-
-
Save MorphyDK/92e089871d2b85909d3a6ce11c0c1922 to your computer and use it in GitHub Desktop.
Rclone mount service file for ubuntu.
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 Service | |
After=network-online.target | |
Wants=network-online.target | |
[Service] | |
Type=notify | |
ExecStart=/usr/bin/rclone mount --allow-other --dir-cache-time 1000h --log-level INFO --log-file /home/plex/logs/rclone.log --bwlimit-file 16M Googlecrypt: /home/plex/mnt | |
ExecStop=/bin/fusermount -uz /home/plex/mnt | |
Restart=on-abort | |
User=plex | |
Group=plex | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment