summaryrefslogtreecommitdiff
path: root/doc/installation.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2020-02-08 11:18:52 +0000
committerPaul Buetow <paul@buetow.org>2020-02-08 11:18:52 +0000
commitae6e9b57500810fff81fe25b4d3080010327d358 (patch)
treede9e2a34ff6fe37a8fd871372259e0079f6612c2 /doc/installation.md
parentcab409a368654e56948a6f82e3beb20925ae4a7d (diff)
improve documentation
Diffstat (limited to 'doc/installation.md')
-rw-r--r--doc/installation.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/installation.md b/doc/installation.md
index a15beb1..75f93d5 100644
--- a/doc/installation.md
+++ b/doc/installation.md
@@ -21,6 +21,7 @@ It is recommended to automate all the installation process outlined here. You co
2. Create the ``dserver`` run user and group. The user could look like this:
```console
+% sudo adduser dserver
% id dserver
uid=670(dserver) gid=670(dserver) groups=670(dserver)
```
@@ -34,8 +35,20 @@ uid=670(dserver) gid=670(dserver) groups=670(dserver)
4. Install the ``dtail.json`` config to ``/etc/dserver/dtail.json``. An example can be found [here](../samples/dtail.json.sample).
+```console
+% sudo mkdir /etc/dserver
+% curl https://raw.githubusercontent.com/mimecast/dtail/master/samples/dtail.json.sample |
+ sudo tee /etc/dserver/dtail.json >/dev/null
+```
+
5. It is recommended to configure DTail server as a service to ``systemd``. An example unit file for ``systemd`` can be found [here](../samples/dserver.service.sample).
+```console
+% curl https://raw.githubusercontent.com/mimecast/dtail/master/samples/dserver.service.sample |
+ sudo tee /etc/systemd/system/dserver.service >/dev/null
+% sudo systemctl daemon-reload
+```
+
# Start it
To start the DTail server via ``systemd`` run: