mirror of
https://github.com/hassio-addons/addon-glances.git
synced 2025-05-06 03:51:26 +00:00
🔨 Re-branding
This commit is contained in:
parent
13e56ddd1e
commit
c4bdd95246
15 changed files with 30 additions and 30 deletions
4
.github/settings.yml
vendored
4
.github/settings.yml
vendored
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
repository:
|
repository:
|
||||||
description: "Glances - Community Hass.io Add-on for Home Assistant"
|
description: "Glances - Community Home Assistant Add-ons"
|
||||||
homepage: https://addons.community
|
homepage: https://addons.community
|
||||||
topics: glances, monitoring, system, hassio-addons, hassio, hass, home-assistant, homeassistant
|
topics: glances, monitoring, system, addon, addons, home-assistant, homeassistant
|
||||||
private: false
|
private: false
|
||||||
has_issues: true
|
has_issues: true
|
||||||
has_projects: false
|
has_projects: false
|
||||||
|
|
19
README.md
19
README.md
|
@ -1,4 +1,4 @@
|
||||||
# Community Hass.io Add-ons: Glances
|
# Community Home Assistant Add-on: Glances
|
||||||
|
|
||||||
[![GitHub Release][releases-shield]][releases]
|
[![GitHub Release][releases-shield]][releases]
|
||||||
![Project Stage][project-stage-shield]
|
![Project Stage][project-stage-shield]
|
||||||
|
@ -36,9 +36,10 @@ at all your system information and its behavior over time.
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
The installation of this add-on is pretty straightforward and not different in
|
The installation of this add-on is pretty straightforward and not different in
|
||||||
comparison to installing any other Hass.io add-on.
|
comparison to installing any other Home Assistant add-on.
|
||||||
|
|
||||||
1. Search for the "Glances" add-on in the Hass.io add-on store and install it.
|
1. Search for the "Glances" add-on in the Supervisor add-on store
|
||||||
|
and install it.
|
||||||
1. Disable "Protection mode" in the add-on panel.
|
1. Disable "Protection mode" in the add-on panel.
|
||||||
1. Start the "Glances" add-on.
|
1. Start the "Glances" add-on.
|
||||||
1. Check the logs of the "Glances" to see if everything went well.
|
1. Check the logs of the "Glances" to see if everything went well.
|
||||||
|
@ -111,13 +112,13 @@ Enables/Disables SSL (HTTPS) on the Glances Web UI. Set it `true` to enable it,
|
||||||
|
|
||||||
The certificate file to use for SSL.
|
The certificate file to use for SSL.
|
||||||
|
|
||||||
**Note**: _The file MUST be stored in `/ssl/`, which is default for Hass.io_
|
**Note**: _The file MUST be stored in `/ssl/`, which is the default_
|
||||||
|
|
||||||
### Option: `keyfile`
|
### Option: `keyfile`
|
||||||
|
|
||||||
The private key file to use for SSL.
|
The private key file to use for SSL.
|
||||||
|
|
||||||
**Note**: _The file MUST be stored in `/ssl/`, which is default for Hass.io_
|
**Note**: _The file MUST be stored in `/ssl/`, which is the default_
|
||||||
|
|
||||||
### Option group `influxdb`
|
### Option group `influxdb`
|
||||||
|
|
||||||
|
@ -223,7 +224,7 @@ Got questions?
|
||||||
|
|
||||||
You have several options to get them answered:
|
You have several options to get them answered:
|
||||||
|
|
||||||
- The [Community Hass.io Add-ons Discord chat server][discord] for add-on
|
- The [Community Home Assistant Add-ons Discord chat server][discord] for add-on
|
||||||
support and feature requests.
|
support and feature requests.
|
||||||
- The [Home Assistant Discord chat server][discord-ha] for general Home
|
- The [Home Assistant Discord chat server][discord-ha] for general Home
|
||||||
Assistant discussions and questions.
|
Assistant discussions and questions.
|
||||||
|
@ -249,11 +250,11 @@ The original setup of this repository is by [Franck Nijhof][frenck].
|
||||||
For a full list of all authors and contributors,
|
For a full list of all authors and contributors,
|
||||||
check [the contributor's page][contributors].
|
check [the contributor's page][contributors].
|
||||||
|
|
||||||
## We have got some Hass.io add-ons for you
|
## We have got some Home Assistant add-ons for you
|
||||||
|
|
||||||
Want some more functionality to your Hass.io Home Assistant instance?
|
Want some more functionality to your Home Assistant instance?
|
||||||
|
|
||||||
We have created multiple add-ons for Hass.io. For a full list, check out
|
We have created multiple add-ons for Home Assistant. For a full list, check out
|
||||||
our [GitHub Repository][repository].
|
our [GitHub Repository][repository].
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Community Hass.io Add-ons: Glances
|
# Community Home Assistant Add-on: Glances
|
||||||
|
|
||||||
[![Release][release-shield]][release] ![Project Stage][project-stage-shield] ![Project Maintenance][maintenance-shield]
|
[![Release][release-shield]][release] ![Project Stage][project-stage-shield] ![Project Maintenance][maintenance-shield]
|
||||||
|
|
||||||
|
@ -25,8 +25,8 @@ at all your system information and its behavior over time.
|
||||||
{% if channel == "edge" %}
|
{% if channel == "edge" %}
|
||||||
## WARNING! THIS IS AN EDGE VERSION!
|
## WARNING! THIS IS AN EDGE VERSION!
|
||||||
|
|
||||||
This Hass.io Add-ons repository contains edge builds of add-ons. Edge builds
|
This Home Assistant Add-ons repository contains edge builds of add-ons.
|
||||||
add-ons are based upon the latest development version.
|
Edge builds add-ons are based upon the latest development version.
|
||||||
|
|
||||||
- They may not work at all.
|
- They may not work at all.
|
||||||
- They might stop working at any time.
|
- They might stop working at any time.
|
||||||
|
@ -46,7 +46,7 @@ If you are more interested in stable releases of our add-ons:
|
||||||
{% if channel == "beta" %}
|
{% if channel == "beta" %}
|
||||||
## WARNING! THIS IS A BETA VERSION!
|
## WARNING! THIS IS A BETA VERSION!
|
||||||
|
|
||||||
This Hass.io Add-ons repository contains beta releases of add-ons.
|
This Home Assistant Add-ons repository contains beta releases of add-ons.
|
||||||
|
|
||||||
- They might stop working at any time.
|
- They might stop working at any time.
|
||||||
- They could have a negative impact on your system.
|
- They could have a negative impact on your system.
|
||||||
|
|
|
@ -62,4 +62,4 @@ LABEL \
|
||||||
org.label-schema.usage="https://github.com/hassio-addons/addon-glances/tree/master/README.md" \
|
org.label-schema.usage="https://github.com/hassio-addons/addon-glances/tree/master/README.md" \
|
||||||
org.label-schema.vcs-ref=${BUILD_REF} \
|
org.label-schema.vcs-ref=${BUILD_REF} \
|
||||||
org.label-schema.vcs-url="https://github.com/hassio-addons/addon-glances" \
|
org.label-schema.vcs-url="https://github.com/hassio-addons/addon-glances" \
|
||||||
org.label-schema.vendor="Community Hass.io Add-ons"
|
org.label-schema.vendor="Community Home Assistant Add-ons"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Community Hass.io Add-ons: Glances
|
# Community Home Assistant Add-on: Glances
|
||||||
# This file turns s6-nuke into a NOOP to prevent total termination
|
# This file turns s6-nuke into a NOOP to prevent total termination
|
||||||
# of the host system since the add-on runs in the same PID namespace.
|
# of the host system since the add-on runs in the same PID namespace.
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Community Hass.io Add-ons: Glances
|
# Community Home Assistant Add-on: Glances
|
||||||
# Configures Glances
|
# Configures Glances
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
declare protocol
|
declare protocol
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Community Hass.io Add-ons: SSH & Web Terminal
|
# Community Home Assistant Add-on: SSH & Web Terminal
|
||||||
# Configures NGINX for use with ttyd
|
# Configures NGINX for use with ttyd
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
declare port
|
declare port
|
||||||
|
|
|
@ -29,7 +29,7 @@ function authenticate()
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
--- HTTP request against Hassio API
|
--- HTTP request against the Supervisor API
|
||||||
local httpc = http.new()
|
local httpc = http.new()
|
||||||
local res, err = httpc:request_uri("http://supervisor.local.hass.io/auth", {
|
local res, err = httpc:request_uri("http://supervisor.local.hass.io/auth", {
|
||||||
method = "POST",
|
method = "POST",
|
||||||
|
@ -44,13 +44,13 @@ function authenticate()
|
||||||
|
|
||||||
--- Error during API request
|
--- Error during API request
|
||||||
if err then
|
if err then
|
||||||
ngx.log(ngx.WARN, "Error during Hassio user authentication.", err)
|
ngx.log(ngx.WARN, "Error during Home Assistant user authentication.", err)
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
--- No result? Something went wrong...
|
--- No result? Something went wrong...
|
||||||
if not res then
|
if not res then
|
||||||
ngx.log(ngx.WARN, "Error during Hassio user authentication.")
|
ngx.log(ngx.WARN, "Error during Home Assistant user authentication.")
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ worker_processes 1;
|
||||||
# Enables the use of JIT for regular expressions to speed-up their processing.
|
# Enables the use of JIT for regular expressions to speed-up their processing.
|
||||||
pcre_jit on;
|
pcre_jit on;
|
||||||
|
|
||||||
# Write error log to Hass.io add-on log.
|
# Write error log to the add-on log.
|
||||||
error_log /dev/stdout error;
|
error_log /dev/stdout error;
|
||||||
|
|
||||||
# Load allowed environment vars
|
# Load allowed environment vars
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
#!/usr/bin/execlineb -S0
|
#!/usr/bin/execlineb -S0
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Community Hass.io Add-ons: Glances
|
# Community Home Assistant Add-on: Glances
|
||||||
# Take down the S6 supervision tree when Glances fails
|
# Take down the S6 supervision tree when Glances fails
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
if -n { s6-test $# -ne 0 }
|
if -n { s6-test $# -ne 0 }
|
||||||
if -n { s6-test ${1} -eq 256 }
|
if -n { s6-test ${1} -eq 256 }
|
||||||
|
|
||||||
s6-svscanctl -t /var/run/s6/services
|
s6-svscanctl -t /var/run/s6/services
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Community Hass.io Add-ons: Glances
|
# Community Home Assistant Add-on: Glances
|
||||||
# Runs Glances
|
# Runs Glances
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
declare -a options
|
declare -a options
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/execlineb -S0
|
#!/usr/bin/execlineb -S0
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Community Hass.io Add-ons: Glances
|
# Community Home Assistant Add-on: Glances
|
||||||
# Take down the S6 supervision tree when Glances fails
|
# Take down the S6 supervision tree when Glances fails
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
if -n { s6-test $# -ne 0 }
|
if -n { s6-test $# -ne 0 }
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Community Hass.io Add-ons: Glances
|
# Community Home Assistant Add-on: Glances
|
||||||
# Runs Glances InfluxDB Export
|
# Runs Glances InfluxDB Export
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
declare -a options
|
declare -a options
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/execlineb -S0
|
#!/usr/bin/execlineb -S0
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Community Hass.io Add-ons: Glances
|
# Community Home Assistant Add-on: Glances
|
||||||
# Take down the S6 supervision tree when the nginx daemon fails
|
# Take down the S6 supervision tree when the nginx daemon fails
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Disabled to allow for some testing
|
# Disabled to allow for some testing
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Community Hass.io Add-ons: Glances
|
# Community Home Assistant Add-on: Glances
|
||||||
# Runs the nginx daemon
|
# Runs the nginx daemon
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue