From 83e5f3f8854cb65f8597fecf362a9f998664b72b Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Mon, 13 Aug 2018 16:41:44 -0700 Subject: [PATCH] Add a note about using lorax-composer.service Update the docs to make it clear that .socket will be slow to respond to the first request, and to use .service to speed it up. --- docs/lorax-composer.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/lorax-composer.rst b/docs/lorax-composer.rst index 880e409c..3faecffc 100644 --- a/docs/lorax-composer.rst +++ b/docs/lorax-composer.rst @@ -22,7 +22,13 @@ systemd socket activation service. You will then need to enable it with ``sudo systemctl enable lorax-composer.socket && sudo systemctl start lorax-composer.socket``. This will leave the server off until the first request is made. Systemd will then launch the server and it will remain running until -the system is rebooted. +the system is rebooted. This will cause some delay in responding to the first +request from the UI or `composer-cli`. + +.. note:: + + If you want lorax-composer to respond immediately to the first request you can + start and enable `lorax-composer.service` instead of `lorax-composer.socket` Quickstart ----------