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:53] – [privatebin] baumkp | docker_notes:fileshare [2025-01-05 Sun wk01 11:25] (current) – [syncthing] baumkp | ||
---|---|---|---|
Line 23: | Line 23: | ||
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. | ||
+ | |||
+ | The following is a systemd service file that can be used to start the syncthing service. | ||
+ | ++++syncthing@.service| | ||
+ | < | ||
+ | Description=Syncthing - Open Source Continuous File Synchronization for %I | ||
+ | Documentation=man: | ||
+ | After=network.target | ||
+ | StartLimitIntervalSec=60 | ||
+ | StartLimitBurst=4 | ||
+ | |||
+ | [Service] | ||
+ | User=%i | ||
+ | ExecStart=/ | ||
+ | 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==== | ||
Line 49: | Line 84: | ||
====Reference==== | ====Reference==== | ||
+ | *The Linux Code [[https:// | ||
+ | *Arch Linux [[https:// | ||
+ | *[[https:// | ||
+ | *[[https:// | ||
+ | *[[https:// | ||
*[[https:// | *[[https:// | ||
*[[https:// | *[[https:// | ||
Line 56: | Line 96: | ||
=====privatebin===== | =====privatebin===== | ||
[[https:// | [[https:// | ||
- | |||
====Reference==== | ====Reference==== | ||
- | *[[https:// | ||
*[[https:// | *[[https:// | ||
+ | *[[https:// | ||
*[[https:// | *[[https:// | ||
=====inotify===== | =====inotify===== | ||
Line 67: | Line 106: | ||
---- | ---- | ||
- | <- docker_notes: | + | <- docker_notes: |