jox

Bug report: Wrong pid file in default config from aur (2.4.1)

Recommended Posts

Just a heads up for any one using  the aur package on arch linux. It seems like the resilio sync from aur has the wrong pid_file option in the default config in /etc/. This line "pid_file" : "/var/run/btsync/btsync.pid" should be "pid_file" : "/var/run/rslsync/rslsync.pid". The error disabled the startup service. 

systemctl status rslsync.service

returned

● rslsync.service - Resilio Sync service
   Loaded: loaded (/usr/lib/systemd/system/rslsync.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Fri 2016-11-11 14:25:25 CET; 19min ago
 Main PID: 10007 (code=exited, status=1/FAILURE)

Nov 11 14:25:22 PC-NAME systemd[1]: Started Resilio Sync service.
Nov 11 14:25:22 PC-NAME rslsync[10007]: [14:25:22.163] Debug log mask has been set to FFFFFFFF
Nov 11 14:25:22 PC-NAME rslsync[10007]: [14:25:22.163] Features mask has been set to 0
Nov 11 14:25:22 PC-NAME rslsync[10007]: [20161111 14:25:22.166] ZIP: Can't locate [version] in zip, error -100.
Nov 11 14:25:22 PC-NAME rslsync[10007]: [20161111 14:25:22.167] I! Configuration from file "/etc/rslsync.conf" has been ap
Nov 11 14:25:25 PC-NAME systemd[1]: rslsync.service: Main process exited, code=exited, status=1/FAILURE
Nov 11 14:25:25 PC-NAME systemd[1]: rslsync.service: Unit entered failed state.
Nov 11 14:25:25 PC-NAME systemd[1]: rslsync.service: Failed with result 'exit-code'.

 

Share this post


Link to post
Share on other sites

Hello,

edit your file /etc/rslsync.conf:

 

/* set location of pid file */
// "pid_file" : "/var/run/btsync/btsync.pid",

and restart rslsync.service

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.