Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 3170  / 3 Years ago, tue, june 1, 2021, 5:28:03

I installed "onedrive" from repo.
Works great but I don't want it to start automatically.
I'm tired of turning it off after each reboot - how to fix it?
I'm turning it off using systemctl --user stop onedrive
I was expecting systemctl --user disable onedrive will turn off autostart but it has no effect - systemctl --user status onedrive stil shows enabled;:


Loaded: loaded (/usr/lib/systemd/user/onedrive.service; enabled; vendor preset: enabled)

and it starts after reboot.


More From » 20.04

 Answers
2

Disclosure: I am the developer of the OneDrive Client for Linux - https://github.com/abraunegg/onedrive


This issue is caused by the Ubuntu PPA package creating a symbolic link when the package is installed:


Created symlink /etc/systemd/user/default.target.wants/onedrive.service → /usr/lib/systemd/user/onedrive.service.

To resolve this situation, this symbolic link needs to be removed:


sudo rm /etc/systemd/user/default.target.wants/onedrive.service

To fix this issue permanently, the PPA package needs to be updated so that this symbolic link is not created.


The above information is also listed in https://github.com/abraunegg/onedrive/issues/1274 which tracks this particular issue.


[#1743] Wednesday, June 2, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ellter

Total Points: 311
Total Questions: 111
Total Answers: 117

Location: Lithuania
Member since Thu, Jul 14, 2022
2 Years ago
;