mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-20 02:08:12 +00:00
Nimbus book: systemd edits (#2059)
This commit is contained in:
parent
00aedddf2a
commit
54778e9dc5
@ -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
|
### 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
|
```txt
|
||||||
[Unit]
|
[Unit]
|
||||||
@ -66,11 +66,11 @@ Replace:
|
|||||||
|
|
||||||
`<USERNAME>` with the username of the system user responsible for running the launched processes.
|
`<USERNAME>` with the username of the system user responsible for running the launched processes.
|
||||||
|
|
||||||
`<WEB3-URL>` with a WebSocket JSON-RPC URL that you are planning to use.
|
`<WEB3-URL>` with the WebSocket JSON-RPC URL that you are planning to use.
|
||||||
|
|
||||||
### 4. Create a systemd service unit file for the Eth2Stats client
|
### 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
|
```txt
|
||||||
[Unit]
|
[Unit]
|
||||||
@ -98,12 +98,17 @@ Replace:
|
|||||||
|
|
||||||
`<USERNAME>` with the username of the system user responsible for running the launched processes.
|
`<USERNAME>` with the username of the system user responsible for running the launched processes.
|
||||||
|
|
||||||
`<NODE-NAME>` with the name of your node that will appear on the `https://pyrmont.eth2.wtf/`` web-site.
|
`<NODE-NAME>` 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
|
```console
|
||||||
sudo systemctl daemon-reload
|
sudo systemctl daemon-reload
|
||||||
|
```
|
||||||
|
|
||||||
|
### 6. Start the services
|
||||||
|
|
||||||
|
```console
|
||||||
sudo systemctl enable nbc --now
|
sudo systemctl enable nbc --now
|
||||||
sudo systemctl enable eth2stats --now
|
sudo systemctl enable eth2stats --now
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user