This commit is contained in:
2025-10-29 17:49:08 -06:00
parent c168b065cb
commit a1cfc324e7
4 changed files with 14 additions and 4 deletions
+10
View File
@@ -79,6 +79,16 @@
**WILL REBOOT IN BETWEEN EACH COMMAND** **WILL REBOOT IN BETWEEN EACH COMMAND**
1. `curl -s https://raw.githubusercontent.com/PrincessPi3/Precision-Timekeeping-Fuckery/refs/heads/main/time_fuckery.sh?nocache=$RANDOM | $SHELL` 1. `curl -s https://raw.githubusercontent.com/PrincessPi3/Precision-Timekeeping-Fuckery/refs/heads/main/time_fuckery.sh?nocache=$RANDOM | $SHELL`
2. `git -C ~/Precision-Timekeeping-Fuckery pull && bash ~/Precision-Timekeeping-Fuckery/time_fuckery.sh` 2. `git -C ~/Precision-Timekeeping-Fuckery pull && bash ~/Precision-Timekeeping-Fuckery/time_fuckery.sh`
3. [https://grandfatherclock:3000](https://grandfatherclock:3000/login)
1. default login: `admin` and `admin`
2. data sources->add new->influx db
1. name "influxdb1"
2. query languagew: influxql
3. http
1. url: http://127.0.0.1:8086
2. timeout seconds: 3
4. database: Chrony_Stats
5. user, pass: blank
#### Software (Manual) #### Software (Manual)
Clone the repo Clone the repo
`git clone https://github.com/PrincessPi3/Precision-Timekeeping-Fuckery.git ~/Precision-Timekeping-Fuckery` `git clone https://github.com/PrincessPi3/Precision-Timekeeping-Fuckery.git ~/Precision-Timekeping-Fuckery`
+1 -1
View File
@@ -5,7 +5,7 @@ instance_name = "Precision Timekeeping"
protocol = http protocol = http
# The http port to use # The http port to use
http_port = 80 http_port = 3000
[log] [log]
# Either "debug", "info", "warn", "error", "critical", default is "info" # Either "debug", "info", "warn", "error", "critical", default is "info"
+2 -2
View File
@@ -13,10 +13,10 @@
[[inputs.chrony]] [[inputs.chrony]]
metrics = ["tracking"] metrics = ["tracking"]
timeout = "5s" timeout = "3s"
[[outputs.influxdb]] [[outputs.influxdb]]
urls = ["http://127.0.0.1:8086"] urls = ["http://127.0.0.1:8086"]
database = "Chrony_Stats" database = "Chrony_Stats"
timeout = "5s" timeout = "3s"
# skip_database_creation = true # skip_database_creation = true
+1 -1
View File
@@ -570,7 +570,7 @@ if [ -f $status_log ]; then
elif [[ "$(cat $installer_status)" == 4 ]]; then elif [[ "$(cat $installer_status)" == 4 ]]; then
phase_five phase_five
else else
echo -e "\nAlready installed!\n" echo -e "\nAlready installed!\n\tUsage: time_fuckery.sh test"
exit exit
fi fi
# if da file is not there # if da file is not there