Some Questions Regarding Bittorrent Sync


smeerbartje

Recommended Posts

I have a home server running Ubuntu 12.04. I have installed the latest BTsync by doing the following:

  • Downloaded the i386 version
  • Extracted it and placed the executable into my /usr/bin directory
  • Created a dump by using the --dump-sample-config parameter
  • My sync.config file can be found below
Then I started btsync with the following command: ./btsync --config ./sync.conf --nodaemon

It's working fine, the GUI can be reached on port 8888 and I'm able to create some shared folders. So far so good :) Now my two questions are:

  • How can I make sure the btsync app is running as a service under my own user? As said before, I'm running Ubuntu server. I don't want to run the btsync daemon under root, as I want all the files to be created under my own user.
  • Where does btsync deamon stores it's shared-folder settings?
My config file


  "device_name": "Server",

  "listening_port" : 0,

  "storage_path" : "/smb/btsync/.sync",

  "pid_file" : "/smb/btsync/btsync.pid",

  "check_for_updates" : true,

  "use_upnp" : false,

  "download_limit" : 0,

  "upload_limit" : 0, 

  "webui" :

  {

    "listen" : "0.0.0.0:8888",

    "login" : "xxxxxxxx",

    "password" : "xxxxxxxx"

  }

Link to comment
Share on other sites

 

 

How can I make sure the btsync app is running as a service under my own user? As said before, I'm running Ubuntu server. I don't want to run the btsync daemon under root, as I want all the files to be created under my own user.

Use the ubuntu/debian packages, which come with init scripts and options on which user is running the btsync service.

 

 

Where does btsync deamon stores it's shared-folder settings?

in your config:

 

 

"storage_path" : "/smb/btsync/.sync",
Link to comment
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.