diff --git a/docs/introduction/install-bin-deb.sh b/docs/introduction/install-bin-deb.sh index 0bb9a95eaf099f8d2b689344eff3456d08ae629a..8b61254489b0046d3db275a69f4d763808051fd8 100755 --- a/docs/introduction/install-bin-deb.sh +++ b/docs/introduction/install-bin-deb.sh @@ -1,5 +1,9 @@ #!/bin/sh +# The following is needed to allow using "sudo apt-get" below, even though apt-get is +# defined as an alias in library scripts/packaging/tests/tests-common.inc.sh +# shellcheck disable=SC2033 + distribution=$1 release=$2 @@ -62,7 +66,7 @@ if [ "$RELEASETYPE" = "Master" ]; then sudo gpg --dearmor -o /etc/apt/keyrings/octez.gpg echo "deb [signed-by=/etc/apt/keyrings/octez.gpg] https://packages.nomadic-labs.com/$distribution $release main" | sudo tee /etc/apt/sources.list.d/octez.list - apt-get update + sudo apt-get update # [end add repository] else apt-get update diff --git a/docs/introduction/services.rst b/docs/introduction/services.rst index f7f64b847b8b5e148ddcfa5924e9beb2a5a83307..d1643155c938906814ac50960c7bab4a63786196 100644 --- a/docs/introduction/services.rst +++ b/docs/introduction/services.rst @@ -140,6 +140,8 @@ following command: $ sudo su tezos -c "octez-client gen keys alice" and the baker will use it automatically. +Indeed, the baker bakes for all the keys for which it has the private key. +If you want to avoid this behavior, you can specify a specific baking key by editing the file ``/etc/default/octez-baker`` and assigning a value to variable ``BAKER_KEY``. Configuring the baker --------------------- @@ -167,6 +169,7 @@ Now that everything is in place, we can start the Octez baker. This service will automatically start all accusers and bakers for all protocols shipped with the package. +It will also start a :doc:`DAL node <../shell/dal_node>` alongside the baker, which is the recommended setting for all bakers. The logs of the baker are available in ``/var/log/tezos/baker-.log``.