You are not logged in.
When i try to run
sudo systemctl --user start btsync
i get this error:
Failed to get D-Bus connection: Connection refused
I followed the instructions given here: https://wiki.archlinux.org/index.php/Sy … asic_setup
However, i think some command to launch it all is missing, but i might be wrong.
I also tried to run btsync without the user flag, it works, but then btsync runs as the btsync user (i think) who does not have permission to access my files.
I think it is preferable to run btsync as my user, then to give the btsync user all that privilleges.
Any ideas?
Last edited by MickeyKnox (2014-08-25 18:12:14)
Offline
Have you checked https://wiki.archlinux.org/index.php/BitTorrent_Sync
Last edited by brick21 (2014-08-24 23:13:36)
Offline
What if you run it without sudo?
Offline
@brick21: Of course, that's where i got the command from.
@lucke: I didn't even considered that. The output ist:
> systemctl --user start btsync
Job for btsync.service failed. See 'systemctl status btsync.service' and 'journalctl -xn' for details.
> systemctl status btsyn
● btsync.service - Bittorent Sync service
Loaded: loaded (/usr/lib/systemd/system/btsync.service; disabled)
Active: inactive (dead)
> journalctl -xn
...
Can't open pid file /var/lib/btsync/sync.pid. Permission denied
btsync.service: control process exited, code=exited status=1
Failed to start Bittorent Sync per-user service.
...
Ok, i googled the error and landed on the AUR page: https://aur.archlinux.org/packages/btsync/?comments=all
The problem was, the "storage_path" in .config/btsync/btsync.conf was set to "/var/lib/btsync"; it needs to be "/home/user/.btsync". Beware, "~/.btsync" doesn't work.
It's working now.
Offline