mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-09 22:06:21 +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
14 lines
446 B
Bash
14 lines
446 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
rm -rf /var/lib/nimbus
|
|
|
|
# https://wiki.debian.org/AccountHandlingInMaintainerScripts argues "mostly"
|
|
# that users should not be removed, as do several debian bug debates that have
|
|
# been ongoing since forever. Fedora is clear on the topic: don't remove
|
|
# https://fedoraproject.org/wiki/Packaging:UsersAndGroups#Allocation_Strategies
|
|
if id -u `nimbus` > /dev/null 2>&1; then
|
|
echo User `nimbus` needs to be removed manually
|
|
fi
|