From aa1c34ee16cf96df6b0d04979139e20cf7ffd6a8 Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Sun, 29 Oct 2023 18:19:39 +0100 Subject: [PATCH] feat: article about syncthing --- knowledge base/syncthing.md | 44 +++++++++++++++++++++++++++++++++++++ knowledge base/systemd.md | 3 +++ 2 files changed, 47 insertions(+) create mode 100644 knowledge base/syncthing.md diff --git a/knowledge base/syncthing.md b/knowledge base/syncthing.md new file mode 100644 index 0000000..8482284 --- /dev/null +++ b/knowledge base/syncthing.md @@ -0,0 +1,44 @@ +# Syncthing + +## Table of contents + +1. [TL;DR](#tldr) +1. [Further readings](#further-readings) +1. [Sources](#sources) + +## TL;DR + +```sh +# Installation. +sudo apt install 'syncthing' +brew install --cask 'syncthing' +sudo zypper install 'syncthing' + +# Startup. +syncthing +syncthing --gui-address '0.0.0.0:8384' --no-default-folder +systemctl --user start 'syncthing.service' +``` + +## Further readings + +- [Website] + +## Sources + +All the references in the [further readings] section, plus the following: + +- [The GUI listen address] +- [File versioning] + + + + +[file versioning]: https://docs.syncthing.net/users/versioning.html +[the gui listen address]: https://docs.syncthing.net/users/guilisten.html +[website]: https://syncthing.net/ + + +[further readings]: #further-readings diff --git a/knowledge base/systemd.md b/knowledge base/systemd.md index 5c75243..ac83546 100644 --- a/knowledge base/systemd.md +++ b/knowledge base/systemd.md @@ -45,6 +45,9 @@ systemctl --user disable --now 'davmail.service' # Check a service is currently active. systemctl is-active 'wpa_supplicant.service' +# Reboot the system. +systemctl reboot + # Suspend the system. # Saves the state to RAM only. systemctl suspend