mirror of
https://github.com/haugene/docker-transmission-openvpn.git
synced 2025-08-07 23:07:11 +02:00
Fixed missing env variables (#1973)
* Update bug_report.yaml (#1949) * Fixed missing env variables openvpn tunnelUp was missing required env variables: fixed privoxy start/stop same: fixed PEER_DNS and PEER_DNS_PIN_ROUTES added to persistEnv file
This commit is contained in:
parent
b3074d5010
commit
502ca0a5ad
12
.github/ISSUE_TEMPLATE/bug_report.yaml
vendored
12
.github/ISSUE_TEMPLATE/bug_report.yaml
vendored
@ -7,15 +7,17 @@ body:
|
|||||||
label: Is there a pinned issue for this?
|
label: Is there a pinned issue for this?
|
||||||
description: Please read the pinned issues to see if they cover your issue first.
|
description: Please read the pinned issues to see if they cover your issue first.
|
||||||
options:
|
options:
|
||||||
- label: I have read the pinned issues
|
- label: I have read the pinned issues and could not find my issue
|
||||||
required: true
|
required: true
|
||||||
- type: checkboxes
|
- type: checkboxes
|
||||||
attributes:
|
attributes:
|
||||||
label: Is there an existing or similar issue for this?
|
label: Is there an existing or similar issue/discussion for this?
|
||||||
description: Please search to see if an issue already exists for the bug you encountered.
|
description: Please search to see if an issue already exists for the bug you encountered.
|
||||||
options:
|
options:
|
||||||
- label: I have searched the existing issues
|
- label: I have searched the existing issues
|
||||||
required: true
|
required: true
|
||||||
|
- label: I have searched the existing discussions
|
||||||
|
required: true
|
||||||
- type: checkboxes
|
- type: checkboxes
|
||||||
attributes:
|
attributes:
|
||||||
label: Is there any comment in the documentation for this?
|
label: Is there any comment in the documentation for this?
|
||||||
@ -26,10 +28,12 @@ body:
|
|||||||
- type: checkboxes
|
- type: checkboxes
|
||||||
attributes:
|
attributes:
|
||||||
label: Is this related to a provider?
|
label: Is this related to a provider?
|
||||||
description: Please check the <a href="https://github.com/haugene/vpn-configs-contrib/issues/">provider issues repo</a> for this.
|
description: Please check the <a href="https://github.com/haugene/vpn-configs-contrib/issues/">provider issues repo</a> for this. If this issue is related to a provider, please post it there.
|
||||||
options:
|
options:
|
||||||
- label: I have checked the provider repo for issues
|
- label: I have checked the provider repo for issues
|
||||||
required: true
|
required: true
|
||||||
|
- label: My issue is NOT related to a provider
|
||||||
|
required: true
|
||||||
- type: checkboxes
|
- type: checkboxes
|
||||||
attributes:
|
attributes:
|
||||||
label: Are you using the latest release?
|
label: Are you using the latest release?
|
||||||
@ -82,7 +86,7 @@ body:
|
|||||||
attributes:
|
attributes:
|
||||||
label: Log output
|
label: Log output
|
||||||
description: |
|
description: |
|
||||||
Please show log output, either text or screenshot
|
Please show complete log output, either text or screenshot
|
||||||
|
|
||||||
Tip: You can attach images by clicking this area to highlight it and then dragging files in.
|
Tip: You can attach images by clicking this area to highlight it and then dragging files in.
|
||||||
validations:
|
validations:
|
||||||
|
@ -21,7 +21,9 @@ wanted_variables = {
|
|||||||
'GLOBAL_APPLY_PERMISSIONS',
|
'GLOBAL_APPLY_PERMISSIONS',
|
||||||
'LOG_TO_STDOUT',
|
'LOG_TO_STDOUT',
|
||||||
'DISABLE_PORT_UPDATER',
|
'DISABLE_PORT_UPDATER',
|
||||||
'TZ'
|
'TZ',
|
||||||
|
'PEER_DNS',
|
||||||
|
'PEER_DNS_PIN_ROUTES'
|
||||||
}
|
}
|
||||||
|
|
||||||
variables_to_persist = {}
|
variables_to_persist = {}
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Source our persisted env variables from container startup
|
||||||
|
. /etc/transmission/environment-variables.sh
|
||||||
|
|
||||||
if [[ "${PEER_DNS,,}" == "true" ]]; then
|
if [[ "${PEER_DNS,,}" == "true" ]]; then
|
||||||
NS=
|
NS=
|
||||||
NS_ROUTES=( )
|
NS_ROUTES=( )
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Source our persisted env variables from container startup
|
# Source our persisted env variables from container startup
|
||||||
# shellcheck source=/dev/null
|
|
||||||
. /etc/transmission/environment-variables.sh
|
. /etc/transmission/environment-variables.sh
|
||||||
|
|
||||||
set_port()
|
set_port()
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Source our persisted env variables from container startup
|
||||||
|
. /etc/transmission/environment-variables.sh
|
||||||
|
|
||||||
if [[ "${WEBPROXY_ENABLED}" = "true" ]]; then
|
if [[ "${WEBPROXY_ENABLED}" = "true" ]]; then
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user