Skip to content

Instantly share code, notes, and snippets.

@adsb-related-code
Created April 19, 2021 23:46
Show Gist options
  • Save adsb-related-code/22055a91bffe3685849c10ea26183807 to your computer and use it in GitHub Desktop.
Save adsb-related-code/22055a91bffe3685849c10ea26183807 to your computer and use it in GitHub Desktop.
ADSBX image ZeroW make it work
#!/bin/bash
set -e
echo 'Disabling services to save the Zero ...'
echo 'Prom services ...'
sudo systemctl disable --now prometheus-dump1090-exporter.service
sudo systemctl disable --now prometheus-node-exporter.service
sudo systemctl disable --now prometheus-node-exporter-apt.timer
sudo systemctl disable --now prometheus-node-exporter-smartmon.timer
sudo systemctl disable --now prometheus-node-exporter-ipmitool-sensor.timer
sudo systemctl disable --now prometheus.service
sudo systemctl disable --now prometheus-node-exporter-mellanox-hca-temp.timer
sudo systemctl disable --now adsbx-temp.service
echo 'Grafana services ...'
sudo systemctl disable --now grafana-server.service
echo 'Graphs1090 services ...'
sudo systemctl disable --now graphs1090.service
echo 'Tar1090 archive services ...'
sudo systemctl disable --now collectd.service
sudo systemctl disable --now tar1090-978.service
sudo systemctl disable --now tar1090.service
echo 'Zero for that single CPU complete'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment