Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
docker_notes:fileshare [2024-12-22 Sun wk51 11:53] – [privatebin] baumkpdocker_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.  It is taken from https://github.com/syncthing/syncthing/releases and based upon the user specific type.  So create a new systemd service, ''/lib/systemd/system/syncthing@.service''
 +++++syncthing@.service|
 +<code>[Unit]
 +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/syncthing serve --no-browser --no-restart --logflags=0
 +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://docs.syncthing.net/advanced/folder-sync-ownership
 +#AmbientCapabilities=CAP_CHOWN CAP_FOWNER
 +
 +[Install]
 +WantedBy=multi-user.target</code> ++++
 +
 +''systemctl daemon-reload'' to update systemd.
 +
 +To use example: ''sudo systemctl status syncthing@user.service''
  
 ====References==== ====References====
Line 49: Line 84:
  
 ====Reference==== ====Reference====
 +  *The Linux Code [[https://thelinuxcode.com/unison-file-synchronization-between-two-servers/|How to Use Unison for Seamless File Synchronization Between Servers]]
 +  *Arch Linux [[https://man.archlinux.org/man/unison.1.en|Unison manual]]
 +  *[[https://www.cyberciti.biz/faq/unison-file-synchronizer-tool/|UNIX / Linux: HowTo Use unison File Synchronizer]]
 +  *[[https://github.com/bcpierce00/unison/blob/master/README.md|GIT Unison]]
 +  *[[https://www.cis.upenn.edu/~bcpierce/unison/|Unison Website]] superseded
   *[[https://github.com/bcpierce00/unison|Github Unison]] Old   *[[https://github.com/bcpierce00/unison|Github Unison]] Old
   *[[https://en.wikipedia.org/wiki/Unison_(software)|Wikipedia Unison]]   *[[https://en.wikipedia.org/wiki/Unison_(software)|Wikipedia Unison]]
Line 56: Line 96:
 =====privatebin===== =====privatebin=====
 [[https://privatebin.info/|PrivateBin]] is a minimalist, **open source** online pastebin where the server has zero knowledge of pasted data. [[https://privatebin.info/|PrivateBin]] is a minimalist, **open source** online pastebin where the server has zero knowledge of pasted data.
- 
 ====Reference==== ====Reference====
-  *[[https://github.com/PrivateBin/PrivateBin|Github PrivateBin]] 
   *[[https://github.com/PrivateBin|Github Privatebin]]   *[[https://github.com/PrivateBin|Github Privatebin]]
 +    *[[https://github.com/PrivateBin/PrivateBin|Github PrivateBin]]
   *[[https://github.com/JamesTurland/JimsGarage/blob/main/PrivateBin/docker-compose.yaml|Jims Garage PrivateBin/docker-compose.yaml]]   *[[https://github.com/JamesTurland/JimsGarage/blob/main/PrivateBin/docker-compose.yaml|Jims Garage PrivateBin/docker-compose.yaml]]
 =====inotify===== =====inotify=====
Line 67: Line 106:
 ---- ----
  
-<- docker_notes:vpn|Back ^ docker_notes:index|Start page ^ docker_notes:hoarder|Next ->+<- docker_notes:vpn|Back ^ docker_notes:index|Start page ^ docker_notes:vnc|Next ->