1748953105

This commit is contained in:
2025-06-03 06:18:24 -06:00
parent f7e7406606
commit 9b7b819530
8 changed files with 17 additions and 17 deletions
+2
View File
@@ -116,6 +116,8 @@ Upload ~/Garfana-Visualization.json to create dashboard
* data source
* fix
* Raspberry OS Lite
* chrony_statistics.sh
* services.h
**known bugs**
doubling of appending to /boot/firmaware/config.txt and /etc/modules when running intstaller3.sh
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/bash
# status of services
bash ./status_services.sh
bash ./services.sh status
# test pps
echo "Testing PPS"
+4 -4
View File
@@ -24,7 +24,7 @@ telegraf_new="$1/telegraf.conf"
udev_new="$1/50-tty.rules"
# stop da services
bash ./stop_services.sh
bash ./services.sh stop
# backup conf
bash ./dump_configs.sh
@@ -38,8 +38,8 @@ sudo bash -c "cat $influxdb_new > $influxdb"
sudo bash -c "cat $telegraf_new > $telegraf"
sudo bash -c "cat $udev_new > $udev_rule"
# restart da services
bash ./start_services.sh
# start da services
bash ./services.sh start
# show services status
# bash ./status_services.sh
# bash ./services.sh status
-3
View File
@@ -1,3 +0,0 @@
#!/bin/bash
echo "Restarting Services"
sudo systemctl restart gpsd chrony influxdb telegraf grafana-server syslog-ng
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
set -e
if [ -z $1 ]; then
echo "Usage: bash services.sh stop|start|restart|status|enable"
exit
fi
echo "Running $1 on Services"
sudo systemctl $1 gpsd chrony influxdb telegraf grafana-server syslog-ng
-3
View File
@@ -1,3 +0,0 @@
#!/bin/bash
echo "Starting Services"
sudo systemctl start gpsd chrony influxdb telegraf grafana-server syslog-ng
-3
View File
@@ -1,3 +0,0 @@
#!/bin/bash
echo "Services Status"
sudo systemctl status gpsd chrony influxdb telegraf grafana-server syslog-ng
-3
View File
@@ -1,3 +0,0 @@
#!/bin/bash
echo "Stopping Services"
sudo systemctl stop gpsd chrony influxdb telegraf grafana-server syslog-ng