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:47] – [File Sharing] baumkp | docker_notes:fileshare [2025-01-05 Sun wk01 11:25] (current) – [syncthing] baumkp | ||
---|---|---|---|
Line 6: | Line 6: | ||
*Nextcloud - a full privately hosted publicly accessible file shareing application, | *Nextcloud - a full privately hosted publicly accessible file shareing application, | ||
*Syncthing - A files synchronising system | *Syncthing - A files synchronising system | ||
+ | *Unison - A files synchronising system | ||
*Privatebin - An encrypted file publicly accessible file sharing server | *Privatebin - An encrypted file publicly accessible file sharing server | ||
+ | *inotify - A Linux application to provide notification with a file has changed | ||
=====Nextcloud===== | =====Nextcloud===== | ||
+ | Nextcloud is an open source content collaboration platform. | ||
+ | |||
[[https:// | [[https:// | ||
- | My implementation of [[https:// | + | I have been using Nextcloud and before that Owncloud from which Nextcloud was forked since circa 2013. |
+ | *kptree | ||
+ | *kptree [[https:// | ||
=====syncthing===== | =====syncthing===== | ||
Line 17: | 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 43: | Line 84: | ||
====Reference==== | ====Reference==== | ||
+ | *The Linux Code [[https:// | ||
+ | *Arch Linux [[https:// | ||
+ | *[[https:// | ||
+ | *[[https:// | ||
+ | *[[https:// | ||
*[[https:// | *[[https:// | ||
*[[https:// | *[[https:// | ||
Line 50: | Line 96: | ||
=====privatebin===== | =====privatebin===== | ||
[[https:// | [[https:// | ||
- | + | ====Reference==== | |
- | [[https:// | + | |
+ | *[[https:// | ||
+ | | ||
=====inotify===== | =====inotify===== | ||
Line 59: | Line 106: | ||
---- | ---- | ||
- | <- docker_notes: | + | <- docker_notes: |