Install syncthing on Ubuntu 14

Syncthing is a cross-platform peer-to-peer file synchronisation client. The tool is similar to BitTorrent Sync, and is used to synchronise files between computers.

Below are instructions for installing Syncthing on Ubuntu 14, and forcing Syncthing to autostart.

sudo apt-get install curl curl -s https://syncthing.net/release-key.txt | sudo apt-key add - echo "deb http://apt.syncthing.net/ syncthing release" | sudo tee /etc/apt/sources.list.d/syncthing-release.list sudo apt-get update sudo apt-get install syncthing

vi /root/.config/syncthing/config.xml

Change 127.0.0.1:8384 to 0.0.0.0:8384

vi /etc/init/syncthing.conf

description "syncthing daemon" author "Hand Coded Studio - Surrey, England"

start on (local-filesystems and net-device-up IFACE!=lo) stop on runlevel [!2345]

setuid root setgid root

env HOME="/root/Sync"

exec /usr/bin/syncthing -home="/root/.config/syncthing"

sudo service syncthing start

Source: https://egustafson.github.io/syncthing-ubuntu.html


Explore our projects