Skip to content

Commit 05de90e

Browse files
committed
Added SKIP_APP parameter
1 parent 7d3bd42 commit 05de90e

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

CHANGELOG.md

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

3+
### 2.0.6 - Fixed bugs, added additonal parameters
4+
5+
- Fixed bug in `ovpn` util.
6+
- Moved `tmp-dir` to server related config.
7+
- Fixed bug in dockumentation (GUID -> PGID).
8+
- Added `SKIP_APP` parameter (to skip app startup).
9+
310
### 2.0.3 - Improved IPv6 support & finalized client mode support
411

512
- Added some IPv6 settings to examples

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ services:
7171
|`-e PUID=1000`|for UserID - see below for explanation|
7272
|`-e PGID=1000`|for GroupID - see below for explanation|
7373
|`-e PERSISTENT_INTERFACE=true`|Enable persistent TUN interface|
74+
|`-e SKIP_APP=true`|Skip app startup|
7475
|`-e TUNNEL_INTERFACE="tun0"`|Tunnel interface name (default: tun0)|
7576
|`-e USE_FIREWALL=false`|Disable any firewall related rules to be created, modified ... (must be implemented in example)|
7677
|`-v /config`|All the config files including OpenVPNs reside here|

root/etc/services.d/openvpn/run

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/usr/bin/with-contenv bash
22

3+
if [ -n "$SKIP_APP" ]; then
4+
exit 0
5+
fi
6+
37
if [ ! -d "/config/openvpn" ] || [ ! -f "/config/openvpn/system.conf" ]; then
48
echo "System configuration is missing"
59
if [ "$FAIL_MODE" != "hard" ]; then
@@ -28,4 +32,4 @@ else
2832
done
2933
fi
3034
exit 1
31-
fi
35+
fi

0 commit comments

Comments
 (0)