From 14c5d6db1e934fddb3ce213f22398d150716df36 Mon Sep 17 00:00:00 2001 From: Sacha Saint-Leger Date: Mon, 14 Dec 2020 12:51:16 +0100 Subject: [PATCH] Update Pi guide: systemd advice (#2181) --- docs/the_nimbus_book/src/pi-guide-mainnet.md | 3 +++ docs/the_nimbus_book/src/pi-guide.md | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/docs/the_nimbus_book/src/pi-guide-mainnet.md b/docs/the_nimbus_book/src/pi-guide-mainnet.md index 026048351..2110eb531 100644 --- a/docs/the_nimbus_book/src/pi-guide-mainnet.md +++ b/docs/the_nimbus_book/src/pi-guide-mainnet.md @@ -7,3 +7,6 @@ The best thing you can do is to set your Pi to run Pyrmont. **If you have no tro

We've been running lots of PIs and NanoPCs 24/7 for 3 years and never got a hardware fail. It is easy (and cheap) to get redundancy of components (even spare PIs in different locations, more of this to come).

— Ethereum on ARM (@EthereumOnARM) November 28, 2020
Although we don't expect a modern Pi to fail, we recommend buying a spare Pi, and enterprise grade SSD, on the off-chance it does; keep your original SD around, to make it easy for you to copy the image over. + +Finally in order to make sure your Pi autorestarts on boot, we recommend [setting up a systemd service](https://www.raspberrypi.org/documentation/linux/usage/systemd.md). For the details on how to do this, see [this page](./beacon-node-systemd.md) + diff --git a/docs/the_nimbus_book/src/pi-guide.md b/docs/the_nimbus_book/src/pi-guide.md index 78ec9ebb2..4fbe8e37a 100644 --- a/docs/the_nimbus_book/src/pi-guide.md +++ b/docs/the_nimbus_book/src/pi-guide.md @@ -408,3 +408,9 @@ To detach your `screen` session but leave your processes running, press `Ctrl-A` Verifying your progress is as simple as `ssh`ing back into your Pi and typing `screen -r`. This will resume your screen session (and you will be able to see your node's entire output since you logged out). +### Professional setup advice + +While `screen` is a nice tool for testing, it's not really a good idea to rely on it for serious use. For a more professional setup, we recommend [setting up a systemd service](https://www.raspberrypi.org/documentation/linux/usage/systemd.md) with an autorestart on boot (should you experience an unexpected power outage, this will ensure your validator restarts correctly). + +For the details on how to do this, see [this page](./beacon-node-systemd.md) +