Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
| Beide Seiten, vorherige ÜberarbeitungVorherige Überarbeitung | |||
| notes:linux:syncthing [12.09.2022 06:24] – Martin | notes:linux:syncthing [14.11.2022 14:41] (aktuell) – moved Martin | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| - | ====== Syncthing ====== | ||
| - | |||
| - | ===== Installation ===== | ||
| - | |||
| - | <code bash> | ||
| - | # Add the release PGP keys: | ||
| - | sudo curl -s -o / | ||
| - | # Add the " | ||
| - | echo "deb [signed-by=/ | ||
| - | # Update and install syncthing: | ||
| - | sudo apt-get update | ||
| - | sudo apt-get install syncthing | ||
| - | </ | ||
| - | |||
| - | ===== Konfiguraion ===== | ||
| - | |||
| - | ==== Autostart ==== | ||
| - | |||
| - | <code bash> | ||
| - | sudo nano / | ||
| - | </ | ||
| - | |||
| - | <code ino> | ||
| - | [Unit] | ||
| - | Description=Syncthing - Open Source Continuous File Synchronization | ||
| - | Documentation=man: | ||
| - | StartLimitIntervalSec=60 | ||
| - | StartLimitBurst=4 | ||
| - | |||
| - | [Service] | ||
| - | ExecStart=/ | ||
| - | Restart=on-failure | ||
| - | RestartSec=1 | ||
| - | SuccessExitStatus=3 4 | ||
| - | RestartForceExitStatus=3 4 | ||
| - | |||
| - | # Hardening | ||
| - | SystemCallArchitectures=native | ||
| - | MemoryDenyWriteExecute=true | ||
| - | NoNewPrivileges=true | ||
| - | |||
| - | [Install] | ||
| - | WantedBy=default.target | ||
| - | </ | ||
| - | |||
| - | <code bash> | ||
| - | sudo systemctl enable syncthing@martin.service | ||
| - | sudo systemctl start syncthing@martin.service | ||
| - | </ | ||
notes/linux/syncthing.1662963871.txt.gz · Zuletzt geändert: 12.09.2022 06:24 von Martin
