![]() |
Q4OS automatyczne uruchaianie onedrive.service - Wersja do druku +- Forum Linux Mint Polska (https://forum.linuxmint.pl) +-- Dział: Inne (https://forum.linuxmint.pl/forumdisplay.php?fid=202) +--- Dział: Nie tylko Mint... (https://forum.linuxmint.pl/forumdisplay.php?fid=169) +--- Wątek: Q4OS automatyczne uruchaianie onedrive.service (/showthread.php?tid=2163) |
Q4OS automatyczne uruchaianie onedrive.service - 5k18a - 08-09-2022 Walczę już od jakiegoś czasu o to by po restarcie systemu automatycznie uruchamiała się usługa onedrive ale nie jestem w stanie tego zrobić. Takie coś mam po reboocie (systemctl status --user onedrive): Kod: onedrive.service - OneDrive Free Client Plik onedrive.service wygląda tak: Kod: [Unit] Za każdym razem muszę uruchamiać usługę manualnie. Ktoś wie jak to wystartować z automatu? RE: Q4OS automatyczne uruchaianie onedrive.service - dedito - 08-09-2022 Wrzuć jeszcze wynikjournalctl --user-unit=onedrive -f i systemctl status onedrive Literatura: https://github.com/abraunegg/onedrive/blob/master/docs/USAGE.md#onedrive-service-running-as-a-non-root-user-via-systemd-with-notifications-enabled-arch-ubuntu-debian-opensuse-fedora RE: Q4OS automatyczne uruchaianie onedrive.service - 5k18a - 08-09-2022 systemctl status onedrive Kod: Unit onedrive.service could not be found. journalctl --user-unit=onedrive -f jest pusty brak wpisów. RE: Q4OS automatyczne uruchaianie onedrive.service - dedito - 08-09-2022 Spróbuj tej porady z githuba, ewentualnie można jeszcze spróbować uruchamiać jako root. Tak dla pewności spytam: Onedrive instalowany normalnie z repozytorium głównego? RE: Q4OS automatyczne uruchaianie onedrive.service - 5k18a - 08-09-2022 Jeszcze dodam, że z dokumentacji nic nie wynika. należy tylko uruchomić usługę i w teorii powinno to wystarczyć: Kod: systemctl --user enable onedrive Jako root już próbowałem i mam odpowiedź: Failed to connect to bus: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined (consider using --machine=<user>@.host --user to connect to bus of other user) Co do onedrive to jest instalowany przez apt install. Jest to ten sam onedrive który daje się zainstalować w Mincie. |