Merge branch 'qbittorrent_vpn_overhaul' of https://github.com/litinoveweedle/alexbelgium-hassio-addons into qbittorrent_vpn_overhaul

This commit is contained in:
litinoveweedle
2026-02-03 22:38:08 +01:00
364 changed files with 2650 additions and 1519 deletions

View File

@@ -91,7 +91,7 @@ sed -i '/^route/d' "${openvpn_runtime_config}"
sed -i '/^auth-user-pass /d' "${openvpn_runtime_config}"
sed -i '/^cd /d' "${openvpn_runtime_config}"
sed -i '/^chroot /d' "${openvpn_runtime_config}"
sed -i '\$q' "${openvpn_runtime_config}"
sed -i '$q' "${openvpn_runtime_config}"
bashio::log.info 'Prepared OpenVPN runtime configuration for initial connection attempt.'

View File

@@ -347,7 +347,7 @@ _openvpn_up() {
chmod 755 ${config["PostDownScript"]}
# Start OpenVPN in the background
_cmd "/usr/sbin/openvpn
_cmd "/usr/sbin/openvpn \
--config "${config["ConfigFile"]}" \
--script-security 2 --daemon --log /dev/null \
--auth-user-pass "${OPENVPN_STATE_DIR}/credentials.conf" \