Skip to content

Instantly share code, notes, and snippets.

@MorphyDK
Last active August 17, 2022 12:23
Show Gist options
  • Save MorphyDK/92e089871d2b85909d3a6ce11c0c1922 to your computer and use it in GitHub Desktop.
Save MorphyDK/92e089871d2b85909d3a6ce11c0c1922 to your computer and use it in GitHub Desktop.
Rclone mount service file for ubuntu.
[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