Created
November 30, 2021 04:08
-
-
Save Markieta/f42ac29bb6b43a09bec9bac297a5f044 to your computer and use it in GitHub Desktop.
A systemd unit file to sync/mirror/backup Google Drive to local on startup using Rclone.
This file contains hidden or 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 | |
After=network.target | |
[Service] | |
User=markieta | |
Group=markieta | |
ExecStart=/usr/bin/rclone --config /home/markieta/.config/rclone/rclone.conf sync --transfers 30 gdrive: /srv/google-drive/markietachristopher | |
#ExecStartPost= # Additional Drives | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment