You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have no problems on deploying image and using it but for some reason the genclient.sh script is just missing the paramters during the execution.
# docker exec dockovpn ./genclient.sh o
Fri Sep 22 15:53:56 2023 /opt/Dockovpn_data/clients/xxxxxxxxxxxxx/client.ovpn file has been generated
Fri Sep 22 15:53:56 2023 Config server started, download your client.ovpn config at http://xxxxxxxxxxxxxxx:80/
Fri Sep 22 15:53:56 2023 NOTE: After you download your client config, http server will be shut down!
(and keeps waiting until Ctrl-C)
I have the same behaviour if I run the command inside the container. It just seems that the "o" is missed when calling the function generateClientConfig(). Debugged up to line 100 on functions.sh
function generateClientConfig() {
echo $# <--- It shows a 0, so never goes inside the if statement
CLIENT_PATH="$(createConfig)"
CONTENT_TYPE=application/text
FILE_NAME=client.ovpn
FILE_PATH="$CLIENT_PATH/$FILE_NAME"
if (($#))
then
Amazing project BTW!
The text was updated successfully, but these errors were encountered:
I have no problems on deploying image and using it but for some reason the genclient.sh script is just missing the paramters during the execution.
(and keeps waiting until Ctrl-C)
I have the same behaviour if I run the command inside the container. It just seems that the "o" is missed when calling the function generateClientConfig(). Debugged up to line 100 on functions.sh
Amazing project BTW!
The text was updated successfully, but these errors were encountered: