Replies: 1 comment 3 replies
-
Please read This will.assist you in correctly configuring your platform for this scenario.
Please read the documentation for this option: |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Thanks @abraunegg and community for a great bit of software. I was looking for a specific solution to get samba file shares (on a linux server) to backup externally and be available for occasional external sharing with microsoft users so I chose Fedora Server to run it (which I hadn't used before). Onedrive was setup as the root user.
The only bit that didn't work 'out-of-the-box' was running it as a service. While this may be unique to the server version of fedora, I had to make a few changes to get it working with systemctl:
create a symlink called onedrive.service in /etc/systemd/system pointing to /usr/lib/systemd/user/onedrive.service;
edit the onedrive.service file to include: User=root (in the [Service] section);
change the ExecStart= line from /usr/bin/onedrive to /usr/sbin/onedrive --monitor
I wanted this as a separate box to the Samba/AD server, so just mounted the shares (cifs) to a /onedrive/ directory for the sync process. So far, so good. I do have to consider the possibility of the SMB Server disappearing/dropping out and the effect that may have though.
Separately, while I assume that the ~/.config/onedrive/config file overrides the default settings, one change I made isn't being honored. I set monitor_interval=120 yet the default 300secs still loads.
Cheers,
Klaus.
Beta Was this translation helpful? Give feedback.
All reactions