mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-09 13:56:23 +00:00
255be39e69
* packaging updates * one package per binary (nimbus_beacon_node, nimbus_validator_client) * use `-` in package name (`_` is separating the version) * don't include (un)installation scripts in package * default metrics port 8108 for vc * fix several upgrade/install errors in scripts * add JWT option to service files * don't attempt to remove user on purge
12 lines
193 B
Bash
12 lines
193 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
SERVICE_NAME="nimbus_beacon_node"
|
|
|
|
if systemctl --all --type service | grep -q "$SERVICE_NAME"; then
|
|
systemctl stop "$SERVICE_NAME"
|
|
systemctl disable "$SERVICE_NAME"
|
|
fi
|
|
|