forked from librespeed/speedtest-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3f8d1e9
commit 2f99238
Showing
6 changed files
with
46 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
#!/bin/sh | ||
|
||
adduser --quiet --system --home /var/lib/librespeed-go --no-create-home \ | ||
--group --gecos "LibreSpeed-Go" librespeed | ||
|
||
systemctl daemon-reload | ||
systemctl enable librespeed-go | ||
systemctl start librespeed-go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# bind address, use empty string to bind to all interfaces | ||
bind_address="" | ||
# backend listen port | ||
listen_port=8989 | ||
# proxy protocol port, use 0 to disable | ||
proxyprotocol_port=0 | ||
# Server location | ||
server_lat=1 | ||
server_lng=1 | ||
# ipinfo.io API key, if applicable | ||
ipinfo_api_key="" | ||
|
||
# assets directory path, defaults to `assets` in the same directory | ||
assets_path="/usr/local/share/librespeed-go/assets" | ||
|
||
# password for logging into statistics page | ||
statistics_password="PASSWORD" | ||
# redact IP addresses | ||
redact_ip_addresses=false | ||
|
||
# database type for statistics data, currently supports: none, memory, bolt, mysql, postgresql | ||
# if none is specified, no telemetry/stats will be recorded, and no result PNG will be generated | ||
database_type="bolt" | ||
database_hostname="" | ||
database_name="" | ||
database_username="" | ||
database_password="" | ||
|
||
# if you use `bolt` as database, set database_file to database file location | ||
database_file="/var/lib/librespeed-go/librespeed-go.db" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters