pages:howtos:systemd:nextcloud-desktop
This is an old revision of the document!
Table of Contents
Nextcloud Desktop as a user service with systemd
Since quite some time I am annoyed by the Nextcloud client starting before the internet connection becomes available. That leads to a situation in which the Nextcloud Desktop Client presents a browser window with a login mask because it assumes it is disconnected.
My approach will start and manage the Nextcloud Desktop Client as a systemd user service as soon as a network connection becomes ready.
KDE Session Management, Autostart
- remove Nextcloud from autostart
- tick “start with an empty session” under “Desktop Session” in System Settings
Systemd User Service
[Unit] Description=Nextcloud Desktop Client After=network-online.target Wants=network-online.target [Service] Type=simple StandardOutput=journal ExecStart=/usr/bin/nextcloud [Install] WantedBy=default.target
pages/howtos/systemd/nextcloud-desktop.1633471436.txt.gz · Last modified: 2021/10/05 22:03 by mischerh