From 08be5e40fcb496e5c2b7f59e81bf684d8d9e1848 Mon Sep 17 00:00:00 2001 From: Pascal Precht Date: Tue, 5 Nov 2019 16:21:02 +0100 Subject: [PATCH] docs: remove docs for `service` command (#2023) As discussed in #2008, the `service on/off` command in Embark's interactive console is non-functioning. As solving the root of the problem requires a bit more effort than anticipated, we've decided offline to remove this command for the time-being. The functionality is already gone, this commit removes the corresponding docs. --- site/source/docs/using_the_console.md | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/site/source/docs/using_the_console.md b/site/source/docs/using_the_console.md index cf64e3ae4..4303e52f4 100644 --- a/site/source/docs/using_the_console.md +++ b/site/source/docs/using_the_console.md @@ -36,25 +36,6 @@ Embark (development) > help This is a good time to read a bit through the available commands and familiarize yourself with them. -## Enabling and disabling processes - -There are several processes and services that Embark spins up to do its work (e.g. `geth` for blockchain process, `ipfs` as storage daemon, etc). Those are the same processes that are listed as "Available Services" in the dashboard. - -These processes can be enabled and disabled using the `service` command. - -Simply specify the process and turn it `on` or `off`: - -``` -Embark (development) > service ipfs off -``` - -The "Available Services" in the dashboard as well as Cockpit's dashboard will reflect the status of the processes as they are enabled and disabled. - -NOTE: There are two processes that cannot be started and stopped via console commands: -1. **Embark** - The Embark process cannot stop and start itself. -2. **Whisper** - Whisper cannot be started and stopped via a command because the blockchain process CLI parameters need to be modified and the blockchain process itself would need to be restarted. To disable Whisper, set `enabled: false` in the communications config, then restart Embark. To enable Whisper, set `enabled: true` in the communications config, then restart Embark. - - ## Enabling and disabling process logs By default, Embark will log output from all processes into the console. Since this can get quite verbose sometimes, we can disable logging for certain processes using the `log` command. @@ -97,7 +78,7 @@ Embark (development) > await web3.eth.getAccounts() ## Installing plugins -We can also install Embark plugins using the interactive console. This can be done using the `plugin` command. +We can also install Embark plugins using the interactive console. This can be done using the `plugin` command. ``` Embark (development) > plugin install embark-status