This commit is contained in:
TheFrenchGhosty 2024-07-22 19:14:56 +02:00
parent 18044a2956
commit 46a1f13680
No known key found for this signature in database
GPG Key ID: 4E616F0FFE25B75B

View File

@ -123,7 +123,7 @@ curl -X PUT -H "Content-Type: application/json" -d '{"status":"running"}' "http:
sleep 5 sleep 5
curl -X GET "http://127.0.0.1:8888/v1/openvpn/status" 2>&1 | tee /path/to/restartvpn.log # Print the Gluetun status curl -X GET "http://127.0.0.1:8000/v1/openvpn/status" 2>&1 | tee /path/to/restartvpn.log # Print the Gluetun status
curl -X GET "http://127.0.0.1:8000/v1/publicip/ip" 2>&1 | tee /path/to/restartvpn.log # Print the new IP curl -X GET "http://127.0.0.1:8000/v1/publicip/ip" 2>&1 | tee /path/to/restartvpn.log # Print the new IP