English version will follow
Very good video, I might of moved to Syncthing earlier if this had existed sooner. That said for the average user something like SyncTrayzor needs to be incorporated into the main project to make setup as easy as possible.
Thanks! added to the wiki
By the way, there is a entry in the wiki for windows autostart but not for linux autostart.
What is the best way to start syncthing at ubuntu startup? (This will be my next video)
On my RPi I used a init.d start script. Another idea would be the crontab with
Do you have a better idea?
forget it I just forgot to scroll down in the wiki
I'd like to run syncthing automatically, and keep it running.
I'm sure most people reading this already have their own ways of doing this, but I thought I'd explain how I do it for reference. I've got two machines: call them "desktop" (my main computer which I sit at all the time; running Ubuntu 13.10) and "server" (my home server, in a cupboard, running Ubuntu 12.04), which share repositories. Syncthing does already do a job of restarting itself if required, but in a weird way: if you run sy…
A couple more options: one for a systemd service file:
Description=Syncthing service for %i
And a debian init.d script based on the btsync one:
### BEGIN INIT INFO
# Provides: syncthing
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Should-Start: $network
# Should-Stop: $network
author "Martijn Lievaart <m (at) rtij.nl>"
exec su -c '/usr/bin/syncthing --no-browser' martijn
# We could start earlier, but let's spread initial load a bit
start on (local-filesystems and net-device-up IFACE!=lo)
Console goes to /var/log/upstart/syncthing.log. Obviously you need to substitute your own username, and obviously, you need to configure syncthing.
Hope this helps somebody, Martijn "M4" Lievaart
Ubuntu is the most popular flavour of *nix. The current Ubuntu uses Upstart for jobs. It is preferable to install the syncthing-inotify addon on Ubuntu as otherwise syncthing will use brute-force at regular intervals to scan for changes rather than sync the files immediately when they change.
However, for whatever reason, the Syncthing developers have not added upstart scripts to the /etc/ folder in the Syncthing or Syncthing-Inotify repos. Therefore I would be grateful if someone familiar wi…