Hallo tuxpoldo, thanks for creating the Ubuntu-/Debian-Packages. And (of course) thanks to the developers of btsync. I love it. :-) My Problem(s): I can't get your init-script starting more than one instance of btsync. And it tells me that starting has failed, but btsync "debconf-default" is running well. My Setup: Minimal Netinst Debian Squeeze (amd64) OpenMediaVault installation as described in their forum btsync installation as you described More Detail: Btsync ist working well as root on port 8888. So i tried to get 3 instances with differend UIDs running. The configs are placed in /etc/btsync/ ... /etc/btsync/user1.conf /etc/btsync/user2.conf /etc/btsync/user3.conf ... and looks like this one: //!/usr/sbin/btsync-daemon --config // // DAEMON_UID=user1 // DAEMON_GID=user1 // DAEMON_UMASK=0000 // { "device_name": "user1@server.domain.lan", "listening_port" : 0, "storage_path" : "/home/user1/.btsync", "pid_file" : "/home/user1/.btsync/btsync.pid", "check_for_updates" : false, "use_upnp" : false, "download_limit" : 0, "upload_limit" : 0, "disk_low_priority" : true, "lan_encrypt_data" : false, "lan_use_tcp" : false, "rate_limit_local_peers" : false, "folder_rescan_interval" : 600, "webui" : { "listen" : "0.0.0.0:61009", "login" : "admin", "password" : "********" } } (with different ports of course) ;-) But "/etc/init.d/btsync restart" fails: (without trying to start user1, user2 and user3) Stopping P2P file synchronisation daemon(s)...Stopping btsync instance 'debconf-default':. Starting P2P file synchronisation daemon(s)...Autostarting btsync instance 'debconf-default': failed! A look at http://server:8888/ gave me a running btsync-gui. I think the init-script is failing to detect if btsync "debconf-default" is running. A look at http://server:61009/ fails. So i tried "pgrep btsync" and got only one PID back. Btsync itself runs well with /etc/btsync/user1.conf: root@server:/etc/btsync# /usr/lib/btsync/btsync-daemon --config /etc/btsync/user1.conf BitTorrent Sync forked to background. pid = 6854 Now port 61009 is responding with a btsync-gui. Final Question(s): Am i doing something wrong? Or is there a bug in the init-script? Update: Workaround: I edited /etc/init.d/btsync and commented out the check if btsync is running. Line 185 to 192: # if which pgrep > /dev/null; then # if pgrep $(basename $DAEMON) > /dev/null; then # STATUS=0 # else # log_error "Failed to start $NAME instance $BASENAME - please check the configurat$ # STATUS=1 # fi # fi Now i can start and stop the instances via init-script and everything seems to work correctly.