Additional scripts
Several helper scripts are located in the /opt/shift/scripts/
directory.
Interactive use
-
bbb-systemctl.sh
: manage and check systemd units in batch Batch control all systemd units at once, e.g. for getting an overall status or stop all services.BitBoxBase: batch control system units Usage: bbb-systemctl.sh <status|start|restart|stop|enable|disable|verify>
Startup
systemd-startup-checks.sh
: early system checkssystemd-startup-after-redis.sh
: second stage system checks, after Redis is availablesystemd-update-checks.sh
: checks if update is in progress and performs system checks, update commits or fallback
Systemd startpre / startpost
Scripts named systemd-***-startpre
and systemd-***-startpost
are executed by systemd before or after starting system services.
Various
bitcoind-rpcauth.py
: generate Bitcoin Core RPC authenticationprometheus-base.py
: Prometheus scraper for custom BitBoxBase componentsprometheus-bitcoind.py
: Prometheus scraper for Bitcoin Coreprometheus-lightningd.py
: Prometheus scraper by Christian Decker for c-lightningredis-pipe.sh
: script for mass insertion of Redis key/value data