Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 60c69c8

Browse files
Merge branch 'develop'
2 parents 7ffd91c + 9eafcd2 commit 60c69c8

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

‎CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
### 3.0.6 - Persistent interface
4+
5+
- Added persistent interface variable
6+
37
### 3.0.5 - New base image
48

59
- Updated to new base image

‎README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ services:
8080
|`-e FAIL_MODE=hard`|Restart whole container on error|
8181
|`-e NO_CRL_UPDATE=true`|Disable auto CRL update (used when CA is password protected)|
8282
|`-e NO_CRON=true`|Disable Cron for CRL update ...|
83+
|`-e PERSIST_INTERFACE=true`|Persist tunnel interface|
8384
|`-e PUID=1000`|for UserID - see below for explanation|
8485
|`-e PGID=1000`|for GroupID - see below for explanation|
8586
|`-e SKIP_APP=true`|Skip app startup|

‎root/etc/cont-finish.d/60-network.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if [ -z "$device" ]; then
1717
fi
1818

1919
# Delete tunnel interface (if not persistant)
20-
if [ -n "$(cat /proc/net/dev | grep $device)" ] && [ ! -f "/config/persistent-interface" ]; then
20+
if [ -n "$(cat /proc/net/dev | grep $device)" ] && [ ! -f "/config/persistent-interface" ]&& [ -z"$PERSIST_INTERFACE" ]; then
2121
echo "Removing $device interface"
2222
openvpn --rmtun --dev $device
2323
fi

‎root/etc/cont-init.d/60-network.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ if [ -z "$device" ]; then
3434
fi
3535

3636
# Delete tunnel interface (if not persistant), so no permission errors occur
37-
if [ -n "$(cat /proc/net/dev | grep $device)" ] && [ ! -f "/config/persistent-interface" ]; then
37+
if [ -n "$(cat /proc/net/dev | grep $device)" ] && [ ! -f "/config/persistent-interface" ]&& [ -z"$PERSIST_INTERFACE" ]; then
3838
echo "Removing $device interface"
3939
openvpn --rmtun --dev $device
4040
fi

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /