Skip to content

Instantly share code, notes, and snippets.

@inspector71
Last active October 20, 2018 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save inspector71/41d23f5df5219e9fa565bf0f409545f8 to your computer and use it in GitHub Desktop.
Save inspector71/41d23f5df5219e9fa565bf0f409545f8 to your computer and use it in GitHub Desktop.
Install and autostart syncthing on Raspbian 9 (stretch)
# As root
apt install syncthing
nano /etc/systemd/syncthing.service
# Paste contents of
# https://raw.githubusercontent.com/syncthing/syncthing/master/etc/linux-systemd/system/syncthing%40.service
Ctrl + o
Crtl + x
# As "pi" user
sudo systemctl enable syncthing@pi.service
sudo systemctl start syncthing@pi.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment