We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 870815d + dc0e785 commit 4466d55Copy full SHA for 4466d55
CHANGELOG.md
@@ -1,5 +1,9 @@
1
# Changelog
2
3
+### 2.0.1 - Fix service start
4
+
5
+- Fixed command for starting service
6
7
### 2.0.0 - Partial rewrite
8
9
- Moved `/config/hooks` to `/config/openvpn/hooks`
root/etc/services.d/openvpn/run
@@ -16,7 +16,7 @@ CONFIGS=$(ls -1 /config/openvpn/config | wc -l) # Get number of files
16
if [ $CONFIGS -gt 0 ]; then
17
# Run OpenVPN only if configs are present
18
echo "Running OpenVPN ..."
19
- sudo -E -u abc openvpn --config /config/openvpn/system.conf
+ exec s6-setuidgid $CONTAINER_USER openvpn --config /config/openvpn/system.conf
20
else
21
# No OpenVPN config present
22
echo "No OpenVPN config present"
0 commit comments