Re: autostart dropbox

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18/09/2021 03:32, Enrique Artal wrote:
Hi,
In Fedora 34 I am not able to autostart dropbox in KDE. I have tried with systemd with the following dropbox.service file put in .config/systemd/user:
[Unit]
Description=Dropbox as a user service
After=local-fs.target network.target

[Service]
Type=simple
ExecStart=/usr/bin/dropbox start
ExecStop=/usr/bin/dropbox stop
Restart=on-failure
RestartSec=1
Environment=DISPLAY=:0

[Install]
WantedBy=default.target

It works with systemctl --user start dropbox but if I enable the service with systemctl --user enable dropbox, after login the service is dead. What am I missing? Thanks, Enrique.

This works for me....

[egreshko@f35ks ~]$ cat .config/systemd/user/dropbox.service
[Unit]
Description=Dropbox as a user service
After=local-fs.target network.target plasma-core.target

[Service]
Type=simple
ExecStart=%h/.dropbox-dist/dropboxd
Restart=on-failure
RestartSec=1
Environment=DISPLAY=:0

[Install]
WantedBy=default.target

--
Nothing to see here.
_______________________________________________
kde mailing list -- kde@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kde-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kde@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [KDE Users]     [Fedora General Discussion]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Triage]     [Coolkey]     [Yum Users]     [Yosemite Forum]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux