Commit 75a5fcf6 authored by Fabian 'xx4h' Melters's avatar Fabian 'xx4h' Melters

Add config option for sleep time, no default

parent 176ab119
......@@ -55,7 +55,7 @@ try {
$updated_zone = $client->dns_zone_update($session_id, 0, $zone[0]['id'], $zone[0]);
// wait until ispconfig does have updated it's configuration
sleep(60);
sleep($wait_seconds);
}
//* Logout
......
......@@ -35,8 +35,6 @@ try {
$zone[0]['serial'] = $zone[0]['serial'] + 1;
$updated_zone = $client->dns_zone_update($session_id, 0, $zone[0]['id'], $zone[0]);
sleep(60);
//* Logout
if($client->logout($session_id)) {
msg("Logout done");
......
......@@ -4,4 +4,6 @@ password = your_remote_user_passwort
soap_location = https://your_ispconfig_address:8080/remote/index.php
soap_uri = https://your_ispconfig_address:8080/remote/
wait_seconds = 120
debug = 1
......@@ -14,6 +14,8 @@ $password = $ini_array['password'];
$soap_location = $ini_array['soap_location'];
$soap_uri = $ini_array['soap_uri'];
$wait_seconds = $ini_array['wait_seconds'];
// Usable environment variables:
// CERTBOT_DOMAIN
// CERTBOT_VALIDATION
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment