|
@@ -334,6 +334,7 @@ if [ "$opt" != "" ]; then
|
334
|
334
|
systemctl stop $http_proxy
|
335
|
335
|
createConf;
|
336
|
336
|
systemctl start $web_service;
|
|
337
|
+ sleep 2;
|
337
|
338
|
createCert;
|
338
|
339
|
scanSSL;
|
339
|
340
|
event_key="0";
|
|
@@ -352,6 +353,7 @@ if [ "$opt" != "" ]; then
|
352
|
353
|
swSites;
|
353
|
354
|
createConf;
|
354
|
355
|
systemctl start $web_service;
|
|
356
|
+ sleep 2;
|
355
|
357
|
createCert;
|
356
|
358
|
scanSSL;
|
357
|
359
|
event_key="0";
|
|
@@ -376,6 +378,7 @@ if [ "$opt" != "" ]; then
|
376
|
378
|
systemctl stop $http_proxy
|
377
|
379
|
createConf;
|
378
|
380
|
systemctl start $web_service;
|
|
381
|
+ sleep 2;
|
379
|
382
|
certbot -n renew;
|
380
|
383
|
scanSSL;
|
381
|
384
|
event_key="0";
|
|
@@ -394,6 +397,7 @@ if [ "$opt" != "" ]; then
|
394
|
397
|
swSites;
|
395
|
398
|
createConf;
|
396
|
399
|
systemctl start $web_service;
|
|
400
|
+ sleep 2;
|
397
|
401
|
certbot -n renew;
|
398
|
402
|
scanSSL;
|
399
|
403
|
event_key="0";
|
|
@@ -416,6 +420,7 @@ if [ "$opt" != "" ]; then
|
416
|
420
|
if [[ "$http_proxy" != "" ]] && [[ "$(systemctl list-units|grep "$http_proxy"|wc -m)" != "0" ]]; then
|
417
|
421
|
scanSSL;
|
418
|
422
|
systemctl restart $http_proxy
|
|
423
|
+ sleep 2;
|
419
|
424
|
updateScs;
|
420
|
425
|
else
|
421
|
426
|
reports=()
|
|
@@ -426,6 +431,7 @@ if [ "$opt" != "" ]; then
|
426
|
431
|
else
|
427
|
432
|
scanSSL;
|
428
|
433
|
systemctl restart $web_service;
|
|
434
|
+ sleep 2;
|
429
|
435
|
updateScs;
|
430
|
436
|
fi
|
431
|
437
|
else
|