Re: Dropbox error
Hello, I’m new to Antergos, so first I want to thank everyone involved in this incredible project. I’ve always wanted to try Arch but never had time to install it by myself, Antergos is definitely the way to go.
Yesterday I was playing with dnscrypt and I found this warning in the magazine:
[/usr/lib/systemd/system/dropbox.service:3] The dependency could not be added in systemd-user-sessions, ignoring: Invalid argument
Appears when I “start systemctl start / reload-or-restart d[TAB]” or “systemctl edit dropbox.service --full”
I have added .service to the systemd-user sessions in /usr/lib/systemd/system/dropbox.service and the warning has disappeared.
In the AUR repository they are using this (in case you want to stay in sync):
[Unity] Description = Dropbox [Service] Type = simple ExecStart = / usr / bin / dropbox ExecReload = / bin / kill -HUP $ MAINPID KillMode = process Reset = in case of failure [Install] WantedBy = default.target
[Unity] Description = Dropbox After = local-fs.target network.target [Service] Type = simple ExecStart = / usr / bin / dropbox ExecReload = / bin / kill -HUP $ MAINPID KillMode = process Reset = in case of failure User =% I [Install] WantedBy = multi-user.target
But in my config I have just changed “After = local-fs.target network.target systemd-user-sessions” to “After = local-fs.target network.target systemd-user-sessions.service” and the problem is fixed.
Dropbox is working fine with the .desktop file, but it would be cleaner to have this fixed to avoid the warnings in the journal.
I do not know if this is the right place or if I should go to:
Thanks in advance