smeerbartje Posted December 12, 2013 Report Share Posted December 12, 2013 I have a home server running Ubuntu 12.04. I have installed the latest BTsync by doing the following:Downloaded the i386 versionExtracted it and placed the executable into my /usr/bin directoryCreated a dump by using the --dump-sample-config parameterMy sync.config file can be found belowThen I started btsync with the following command: ./btsync --config ./sync.conf --nodaemonIt'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" } Quote Link to comment Share on other sites More sharing options...
nils Posted December 12, 2013 Report Share Posted December 12, 2013 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", Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.