mirror of
https://github.com/unraid/api.git
synced 2026-02-18 05:58:28 -06:00
feat: add global agent (#897)
* feat: add global agent * feat: add proxy setup to rc.unraid-api * feat: update myservers.cfg to latest version
This commit is contained in:
@@ -47,7 +47,7 @@ status() {
|
||||
LOG_TYPE=raw "${api_base_directory}/unraid-api/unraid-api" status
|
||||
}
|
||||
start() {
|
||||
LOG_TYPE=raw "${api_base_directory}/unraid-api/unraid-api" start 2>&1 | logger &
|
||||
HTTP_PROXY=$http_proxy HTTPS_PROXY=$https_proxy NO_PROXY=$no_proxy LOG_TYPE=raw "${api_base_directory}/unraid-api/unraid-api" start 2>&1 | logger &
|
||||
}
|
||||
report() {
|
||||
LOG_TYPE=raw "${api_base_directory}/unraid-api/unraid-api" report "$1" "$2"
|
||||
|
||||
Reference in New Issue
Block a user