From 4a34445b8132aead940f5cc1df0a46cd8713a07d Mon Sep 17 00:00:00 2001 From: Sean Whalen Date: Wed, 26 Sep 2018 12:45:50 -0400 Subject: [PATCH] Update documentation --- docs/index.rst | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index d20d4d1..79c28af 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -646,12 +646,6 @@ Then, enable the service You must also run the above commands whenever you edit ``parsedmarc.service``. -Use this command to check the status of the service: - -.. code-block:: bash - - sudo service parsedmarc status - .. warning:: Always restart the service every time you upgrade to a new version of @@ -661,6 +655,23 @@ Use this command to check the status of the service: sudo service parsedmarc restart +To check the status of the service, run: + +.. code-block:: bash + + service parsedmarc status + +.. note:: + + In the event of a crash, systemd will restart the service after 10 minutes, + but the `service parsedmarc status` command will only show the logs for the + current process. To vew the logs for previous runs as well as the + current process (newest to oldest), run: + + .. code-block:: bash + + journalctl -u parsedmarc.service -r + Using the Kibana dashboards ===========================