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.
(cherry picked from commit 83e5f3f885
)
This commit is contained in:
parent
64efb8b415
commit
c2f96b3d3b
@ -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
|
systemctl enable lorax-composer.socket && sudo systemctl start
|
||||||
lorax-composer.socket``. This will leave the server off until the first request
|
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
|
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
|
Quickstart
|
||||||
----------
|
----------
|
||||||
|
Loading…
Reference in New Issue
Block a user