Syncthing

From Geitenpad
Revision as of 14:34, 5 January 2025 by Rijk (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Install Syncthing

root@paardenpad:~# curl -s https://syncthing.net/release-key.txt | sudo apt-key add -
root@paardenpad:~# echo "deb https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list deb https://apt.syncthing.net/ syncthing stable
root@paardenpad:~# apt-get install syncthing

Syncthing Service

root@paardenpad:~# useradd -M -N -r syncthing
root@paardenpad:~# wget https://raw.githubusercontent.com/syncthing/syncthing/master/etc/linux-systemd/system/syncthing%40.service
root@paardenpad:~# cp syncthing\@.service /etc/systemd/system/
root@paardenpad:~# systemctl enable syncthing@rijk.service
root@paardenpad:~# systemctl start syncthing@rijk.service

Start Syncthing automatically on Gnome

Add autostart application with:

/usr/bin/syncthing -no-browser -home="/home/rijk/.config/syncthing"