Update 93-openvpn.sh

This commit is contained in:
Alexandre
2023-12-30 19:37:59 +01:00
committed by GitHub
parent d0a90a7178
commit 09d2a9fb2f

View File

@@ -115,7 +115,7 @@ if bashio::config.true 'openvpn_enabled'; then
fi
# Send to openvpn script
sed -i "1a export openvpn_config=\"$openvpn_config\"|g" /etc/s6-overlay/s6-rc.d/svc-qbittorrent
sed -i "s|/config/openvpn/config.ovpn|/config/openvpn/$openvpn_config|g" /etc/s6-overlay/s6-rc.d/svc-qbittorrent/run
# Set credentials
if bashio::config.has_value "openvpn_username"; then