Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
docker_notes:fileshare [2024-12-22 Sun wk51 11:56] – [syncthing] baumkp | docker_notes:fileshare [2025-01-05 Sun wk01 11:25] (current) – [syncthing] baumkp | ||
---|---|---|---|
Line 24: | Line 24: | ||
Syncthing is a **free and open source** peer-to-peer file synchronization application available for Windows, macOS, Linux, Android, and BSD. It can sync files between devices on a local network, or between remote devices over the Internet. Data security and data safety are built into its design. Version 1.0 was released in January 2019 after five years in beta. | Syncthing is a **free and open source** peer-to-peer file synchronization application available for Windows, macOS, Linux, Android, and BSD. It can sync files between devices on a local network, or between remote devices over the Internet. Data security and data safety are built into its design. Version 1.0 was released in January 2019 after five years in beta. | ||
- | *[[https:// | + | The following is a systemd service file that can be used to start the syncthing service. |
- | *[[https://docs.syncthing.net/intro/getting-started.html|getting started]] | + | ++++syncthing@.service| |
- | *[[https:// | + | < |
+ | Description=Syncthing - Open Source Continuous File Synchronization for %I | ||
+ | Documentation=man:syncthing(1) | ||
+ | After=network.target | ||
+ | StartLimitIntervalSec=60 | ||
+ | StartLimitBurst=4 | ||
+ | |||
+ | [Service] | ||
+ | User=%i | ||
+ | ExecStart=/usr/bin/ | ||
+ | Restart=on-failure | ||
+ | RestartSec=1 | ||
+ | SuccessExitStatus=3 4 | ||
+ | RestartForceExitStatus=3 4 | ||
+ | |||
+ | # Hardening | ||
+ | ProtectSystem=full | ||
+ | PrivateTmp=true | ||
+ | SystemCallArchitectures=native | ||
+ | MemoryDenyWriteExecute=true | ||
+ | NoNewPrivileges=true | ||
+ | |||
+ | # Elevated permissions to sync ownership (disabled by default), | ||
+ | # see https:// | ||
+ | # | ||
+ | |||
+ | [Install] | ||
+ | WantedBy=multi-user.target</ | ||
+ | |||
+ | '' | ||
+ | |||
+ | To use example: '' | ||
====References==== | ====References==== | ||
*[[https:// | *[[https:// | ||
Line 52: | Line 84: | ||
====Reference==== | ====Reference==== | ||
+ | *The Linux Code [[https:// | ||
+ | *Arch Linux [[https:// | ||
+ | *[[https:// | ||
+ | *[[https:// | ||
+ | *[[https:// | ||
*[[https:// | *[[https:// | ||
*[[https:// | *[[https:// | ||
Line 69: | Line 106: | ||
---- | ---- | ||
- | <- docker_notes: | + | <- docker_notes: |