mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
feat: article about syncthing
This commit is contained in:
44
knowledge base/syncthing.md
Normal file
44
knowledge base/syncthing.md
Normal file
@@ -0,0 +1,44 @@
|
||||
# Syncthing
|
||||
|
||||
## Table of contents <!-- omit in toc -->
|
||||
|
||||
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]
|
||||
|
||||
<!--
|
||||
References
|
||||
-->
|
||||
|
||||
<!-- Upstream -->
|
||||
[file versioning]: https://docs.syncthing.net/users/versioning.html
|
||||
[the gui listen address]: https://docs.syncthing.net/users/guilisten.html
|
||||
[website]: https://syncthing.net/
|
||||
|
||||
<!-- In-article sections -->
|
||||
[further readings]: #further-readings
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user