This commit is contained in:
2025-10-14 11:55:35 -06:00
parent 2a468fc9bd
commit 8b8d83fa3f
+4 -1
View File
@@ -18,6 +18,9 @@ packages="util-linux util-linux-extra gawk telegraf grafana influxdb restic buil
# purge packages # purge packages
purge_packages='"apt purge -y "bluetooth*" "usb*" "wireless*" "pci*" "fonts*" "bluez*" "alsa*"' purge_packages='"apt purge -y "bluetooth*" "usb*" "wireless*" "pci*" "fonts*" "bluez*" "alsa*"'
# services
services="gpsd gpsd.socket chrony influxdb telegraf grafana-server syslog-ng"
# configs place in system # configs place in system
gpsd="/etc/default/gpsd" gpsd="/etc/default/gpsd"
chrony="/etc/chrony/conf.d/precision_timekeeping.conf" chrony="/etc/chrony/conf.d/precision_timekeeping.conf"
@@ -70,7 +73,7 @@ services_cmd () {
fi fi
echo -e "\nRunning $1 on Services\n" echo -e "\nRunning $1 on Services\n"
sudo systemctl $1 gpsd chrony influxdb telegraf grafana-server syslog-ng sudo bash -c "systemctl $1 $services"
echo "services complete" >> $status_log echo "services complete" >> $status_log
} }