Gnadenlos kopiert 1), eingedeutscht und angepasst:
Syncthing Repository hinzufügen
curl -s https://syncthing.net/release-key.txt | sudo apt-key add - echo "deb https://apt.syncthing.net/ syncthing release" > /etc/apt/sources.list.d/syncthing.list sudo apt-get update sudo apt-get install syncthing
Service konfigurieren:
sudo vim /etc/systemd/system/syncthing@.service
[Unit] Description=Syncthing - Open Source Continuous File Synchronization for %I Documentation=man:syncthing(1) After=network.target [Service] User=%i ExecStart=/usr/bin/syncthing -no-browser -gui-address="0.0.0.0:8384" -no-restart -logflags=0 Restart=on-failure SuccessExitStatus=3 4 RestartForceExitStatus=3 4 [Install] WantedBy=multi-user.target
sudo systemctl daemon-reload
Starten mit
sudo systemctl start syncthing@$USER
E.g.
sudo systemctl start syncthing@root sudo systemctl start syncthing@jmutai
Confirm service status:
sudo systemctl status syncthing@$USER
Nun ist die GUI über https:<server_ip>:8384/ erreichtbar.
Lässt man in der Config den -gui-address='ip:port
Parameter weg, läuft der Server auf https://localhost:8384/