mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-09 05:52:45 +00:00
e2a2157370
* RPM/DEB for systemd-based systems Similar to https://github.com/status-im/nimbus-eth2/pull/2691, this PR introduces packaging for nimbus beacon node. Instead of relying on interactive prompts, a default configuration is included that connects to mainnet and expects there to be an execution client running with websockets enabled on the same host, on the standard websocket port. Should the user need to configure their nimbus after installation (for example with a different web3 url), the "standard" way of doing so via `systemctl` edit is recommended.
10 lines
146 B
Bash
10 lines
146 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
rm -rf /var/lib/nimbus
|
|
|
|
if id -u nimbus > /dev/null 2>&1; then
|
|
userdel nimbus # userdel will also delete the nimbus group
|
|
fi
|