From 54778e9dc5b5cca83f6c53b0f39edd1f940a0fea Mon Sep 17 00:00:00 2001 From: Sacha Saint-Leger Date: Fri, 20 Nov 2020 23:25:51 +0100 Subject: [PATCH] Nimbus book: systemd edits (#2059) --- docs/the_nimbus_book/src/beacon-node-systemd.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/docs/the_nimbus_book/src/beacon-node-systemd.md b/docs/the_nimbus_book/src/beacon-node-systemd.md index 2171ed192..b2baa30cf 100644 --- a/docs/the_nimbus_book/src/beacon-node-systemd.md +++ b/docs/the_nimbus_book/src/beacon-node-systemd.md @@ -37,7 +37,7 @@ The resulting binaries should appear in `nimbus-eth2/build/nimbus_beacon_node` a ### 3. Create a systemd service unit file for the Nimbus beacon node service -Create a `systemd` service unit file, `nbc.service`, and save it in `/etc/systemd/system/`. +Create a `systemd` service unit file -- `nbc.service` -- and save it in `/etc/systemd/system/`. ```txt [Unit] @@ -66,11 +66,11 @@ Replace: `` with the username of the system user responsible for running the launched processes. -`` with a WebSocket JSON-RPC URL that you are planning to use. +`` with the WebSocket JSON-RPC URL that you are planning to use. ### 4. Create a systemd service unit file for the Eth2Stats client -Create a `systemd` service unit file, `eth2stata.service`, and save it in `/etc/systemd/system/`. +Create a `systemd` service unit file -- `eth2stata.service` -- and save it in `/etc/systemd/system/`. ```txt [Unit] @@ -98,12 +98,17 @@ Replace: `` with the username of the system user responsible for running the launched processes. -`` with the name of your node that will appear on the `https://pyrmont.eth2.wtf/`` web-site. +`` with the name of your node on [https://pyrmont.eth2.wtf/](https://pyrmont.eth2.wtf/). -### 5. Notify systemd of the newly added services and start them +### 5. Notify systemd of the newly added services ```console sudo systemctl daemon-reload +``` + +### 6. Start the services + +```console sudo systemctl enable nbc --now sudo systemctl enable eth2stats --now ```