commit 8d7eaa6a4da8cb8fe1a26ca063d5100862b2e588
parent b55d5344186242153004930040d79a52dee258ea
Author: ms <ms@taler.net>
Date: Tue, 2 Feb 2021 16:31:50 +0100
SystemD instructions
Diffstat:
1 file changed, 39 insertions(+), 0 deletions(-)
diff --git a/libeufin/nexus-tutorial.rst b/libeufin/nexus-tutorial.rst
@@ -38,6 +38,45 @@ To install LibEuFin, you can now simply run:
# apt install libeufin
+Administration via SystemD
+--------------------------
+
+After the Debian installation, the installed unit files
+should be listed by the following command:
+
+.. code-block:: console
+
+ # systemctl list-unit-files | egrep '(nexus|sandbox)'
+
+Both ``nexus.service`` and ``sandbox.service`` should appear.
+
+At this point, the services can be started on boot:
+
+.. code-block:: console
+
+ # systemctl enable nexus # use 'disable' to rollback
+ # systemctl enable sandbox
+
+Or just manually:
+
+.. code-block:: console
+
+ # systemctl start nexus # use 'stop' to terminate.
+ # systemctl start sandbox
+
+Generally, the following command should inform the
+user about the status of the running / terminated service:
+
+.. code-block:: console
+
+ # systemctl status nexus
+
+For more diagnostics, use:
+
+.. code-block:: console
+
+ # journalctl -u nexus
+
Run-time dependencies
---------------------