mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02:00
Update vpn
This commit is contained in:
@@ -352,7 +352,7 @@ _openvpn_up() {
|
|||||||
chmod 755 ${config["PostDownScript"]}
|
chmod 755 ${config["PostDownScript"]}
|
||||||
|
|
||||||
# Start OpenVPN in the background
|
# Start OpenVPN in the background
|
||||||
_cmd "/usr/sbin/openvpn
|
_cmd "/usr/sbin/openvpn \
|
||||||
--config "${config["ConfigFile"]}" \
|
--config "${config["ConfigFile"]}" \
|
||||||
--script-security 2 --daemon --log /dev/null \
|
--script-security 2 --daemon --log /dev/null \
|
||||||
--auth-user-pass "${OPENVPN_STATE_DIR}/credentials.conf" \
|
--auth-user-pass "${OPENVPN_STATE_DIR}/credentials.conf" \
|
||||||
|
|||||||
Reference in New Issue
Block a user