OneDrive: Difference between revisions

imported>Mipmip
Add additional information to prevent confussion how this service works.
Klinger (talk | contribs)
m reduced categories to Category:Applications
 
(4 intermediate revisions by 2 users not shown)
Line 14: Line 14:


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
onedrive --confdir=$HOME/.config/onedrive-0
onedrive
</syntaxhighlight>
</syntaxhighlight>


Line 22: Line 22:


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
systemctl --user enable onedrive@onedrive-0.service
systemctl --user enable onedrive@onedrive.service
systemctl --user start onedrive@onedrive-0.service
systemctl --user start onedrive@onedrive.service
</syntaxhighlight>
</syntaxhighlight>


this will enable and start the systemd user service.
this will enable and start the systemd user service. Note: this makes a symlink that is unmanaged by NixOS. When the onedrive service is updated, be sure to disable and enable the Systemd service again.


Check that the service started successfully and is running:
Check that the service started successfully and is running:


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
systemctl --user status onedrive@onedrive-0.service
systemctl --user status onedrive@onedrive.service
</syntaxhighlight>
</syntaxhighlight>


Line 47: Line 47:
* [https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/sync/onedrive/default.nix nixpkgs OneDrive client package definition]
* [https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/sync/onedrive/default.nix nixpkgs OneDrive client package definition]


[[Category:NixOS]]
[[Category:Applications]]
[[Category:Guide]]
[[Category:Networking]]
[[Category:Sync]]