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=Start/Stop OneDrive sync using RClone | |
Requires=systemd-networkd.service | |
Wants=network-online.target | |
After=network-online.target | |
[Service] | |
Type=simple | |
User=<your user name> | |
Group=<your user group name> |
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
#!/bin/sh | |
# ------------------------------------------------------------------------------- | |
# General Settings. It is safe enough to be changed as needed. | |
# ------------------------------------------------------------------------------- | |
# RClone remote name. | |
remote=onedrive | |
# Absolute path to the folder to be used as mounting point. |