From 8d7eaa6a4da8cb8fe1a26ca063d5100862b2e588 Mon Sep 17 00:00:00 2001 From: ms Date: Tue, 2 Feb 2021 16:31:50 +0100 Subject: SystemD instructions --- libeufin/nexus-tutorial.rst | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) (limited to 'libeufin') diff --git a/libeufin/nexus-tutorial.rst b/libeufin/nexus-tutorial.rst index 07ef218a..2a97b2cd 100644 --- 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 --------------------- -- cgit v1.2.3