Package Details: rslsync 2.7.2-1

Git Clone URL: https://aur.archlinux.org/rslsync.git (read-only, click to copy)
Package Base: rslsync
Description: Resilio Sync (ex:BitTorrent Sync) - automatically sync files via secure, distributed technology
Upstream URL: https://www.getsync.com
Licenses: custom:resilio
Submitter: widowild
Maintainer: widowild (fryfrog)
Last Packager: fryfrog
Votes: 354
Popularity: 0.55
First Submitted: 2016-09-25 13:20
Last Updated: 2020-07-21 21:45

xjpvictor commented on 2013-06-26 11:07

I would suggest chown /etc/btsync.conf to btsync:btsync and then chmod 600 because it contains password for gui access. It's important when used on a server.

And I get the error "/run/btsync/ not exist". Maybe install a directory as btsync:btsync when installing the package?

Ninja-1 commented on 2013-06-16 18:26

That's what I get for writing that if statement while I'm tired, lol. Updated.

unlimitedbacon commented on 2013-06-16 00:14

/tmp/alpm_FLQeCF/.INSTALL: line 2: [: !=: unary operator expected
chown: invalid user: ‘btsync:btsync’

I think the line in the install script should be...
if [ "$(grep btsync /etc/passwd)" != "" ]; then

Ninja-1 commented on 2013-06-15 17:19

Updated with a check to see if user exists before creating the btsync user.

Package source is on GitHub here now, easier to submit pull requests this way: https://github.com/Ninja-1/bittorrent-sync

alphazo commented on 2013-06-14 15:29

1.1.15 is out!

Ninja-1 commented on 2013-06-14 05:37

You have to set up your config in /etc/btsync.conf and run btsync with your config.

Anonymous comment on 2013-06-14 04:36

I get the following error when trying to run the binary on the command line.
# btsync
Can't open pid file /usr/bin/.sync//sync.pid. No such file or directory

crabman commented on 2013-06-07 20:18

Good point. I used pacmans epoch variable which is recommended for version number changes. The new version string is now "1:1.0.134-1":

https://dl.dropboxusercontent.com/u/62595384/bittorrent-sync-1%3A1.0.134-1.src.tar.gz

I am just testing the bittorrent client right now and problaby wont be using (regularly) it in the future. But ill be happy to assist maintaining it.

Ninja-1 commented on 2013-06-07 16:54

I only see one problem, changing the version number would mean a forced downgrade for those who have it installed.

You've put more work into this than I have, if you'd like to take ownership of this package just let me know and I'll drop it.

crabman commented on 2013-06-07 13:02

@Ninja-1: thanks for the adjustments. However, this package still has some flaws:
- By default, btsync is run as root, which might impose a security risc
- The config file is created in the install file which is really bad (the config is overwritten after every update)
- the service file is named bittorrent-sync while all the other files are named btsync
- there is no version number
- a LICENSE file wasnt packaed, which is mandatory for custom LICENSE packages
- no arm version

I tried to fix that by:
- creating a new user 'btsync' who runs the program. Drawback: 'btsync' must be able to access your files
- adding the LICENSE.txt file
-creating the config file during package creation, now its properly backed up on upgrade and works out of the box
-renaming the systemd-file to "btsync.sercvice"
-adding arm and armv6h versions (for rapberry pi users)

you can find my PKGBUILD here: https://dl.dropboxusercontent.com/u/62595384/bittorrent-sync-1.0.134-1.src.tar.gz