services/Distributed-Wiki-New.md
... ...
@@ -60,6 +60,14 @@ For example:
60 60
name = IEDON.DN42 Wiki Mirror(116)
61 61
```
62 62
63
+To create the isolated, low-privileged user `dn42-wiki-go`, you may run:
64
+```bash
65
+# This user cannot log in or get a shell.
66
+# This user has /opt/dn42-wiki-go as working directory.
67
+# No default home folder created automatically.
68
+sudo useradd -r -s /usr/sbin/nologin -d /opt/dn42-wiki-go -M dn42-wiki-go
69
+```
70
+
63 71
Both systemd socket enabler and UNIX domain socket are supported, check example configuration files: `dn42-wiki-go.socket` and `dn42-wiki-go.service`.
64 72
65 73
If you would like to use with Docker: `Dockerfile` and `docker-compose.yml` are also provided, bind proper directories and map `config.json` for the App to use, then you are all set.