Skip to content

Commit

Permalink
Modifying ca path should be in-place ofc
Browse files Browse the repository at this point in the history
  • Loading branch information
haugene committed Sep 5, 2021
1 parent 3aa8daa commit 8f0a92a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openvpn/modify-openvpn-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if [[ $CONFIG_MOD_CA_CERTS == "1" ]]; then
# Some configs are already adjusted, need to handle both relative and absolute paths, like:
# ca /etc/openvpn/mullvad/ca.crt
# ca ca.ipvanish.com.crt
sed -E "s#ca\s+(.*/)*#ca $config_directory/#g" "$CONFIG"
sed -i -E "s#ca\s+(.*/)*#ca $config_directory/#g" "$CONFIG"
fi

## Option 3 - Update ping options to exit the container, so Docker will restart it
Expand Down

0 comments on commit 8f0a92a

Please sign in to comment.