mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-18 16:32:17 +00:00
speedtest-tracker: add external IP URL and internet check hostname in .env (#10078)
This commit is contained in:
committed by
GitHub
parent
86069a1663
commit
2cc54fdbdf
@@ -33,6 +33,7 @@ function update_script() {
|
|||||||
PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="common,sqlite3,redis" setup_php
|
PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="common,sqlite3,redis" setup_php
|
||||||
setup_composer
|
setup_composer
|
||||||
NODE_VERSION="22" setup_nodejs
|
NODE_VERSION="22" setup_nodejs
|
||||||
|
setcap cap_net_raw+ep /bin/ping
|
||||||
|
|
||||||
msg_info "Stopping Service"
|
msg_info "Stopping Service"
|
||||||
systemctl stop speedtest-tracker
|
systemctl stop speedtest-tracker
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ msg_info "Installing Dependencies"
|
|||||||
$STD apt install -y \
|
$STD apt install -y \
|
||||||
nginx \
|
nginx \
|
||||||
sqlite3
|
sqlite3
|
||||||
|
setcap cap_net_raw+ep /bin/ping
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="common,sqlite3,redis" setup_php
|
PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="common,sqlite3,redis" setup_php
|
||||||
@@ -71,6 +72,8 @@ SESSION_LIFETIME=120
|
|||||||
|
|
||||||
SPEEDTEST_SCHEDULE="0 */6 * * *"
|
SPEEDTEST_SCHEDULE="0 */6 * * *"
|
||||||
SPEEDTEST_SERVERS=
|
SPEEDTEST_SERVERS=
|
||||||
|
SPEEDTEST_EXTERNAL_IP_URL=https://ip.me
|
||||||
|
SPEEDTEST_INTERNET_CHECK_HOSTNAME=1.1.1.1
|
||||||
PRUNE_RESULTS_OLDER_THAN=0
|
PRUNE_RESULTS_OLDER_THAN=0
|
||||||
|
|
||||||
DISPLAY_TIMEZONE=${TIMEZONE}
|
DISPLAY_TIMEZONE=${TIMEZONE}
|
||||||
|
|||||||
Reference in New Issue
Block a user