355 |
Run.MailFormat.message?"..(truncated)":""); |
Run.MailFormat.message?"..(truncated)":""); |
356 |
|
|
357 |
printf(" %-18s = %s\n", "Start monit httpd", Run.dohttpd?"True":"False"); |
printf(" %-18s = %s\n", "Start monit httpd", Run.dohttpd?"True":"False"); |
358 |
|
|
359 |
|
|
360 |
|
|
361 |
if (Run.dohttpd) { |
if (Run.dohttpd) { |
362 |
|
|
363 |
printf(" %-18s = %d\n", "httpd portnumber", Run.httpdport); |
printf(" %-18s = %d\n", "httpd portnumber", Run.httpdport); |
364 |
printf(" %-18s = %s\n", "httpd bind address", |
printf(" %-18s = %s\n", "httpd bind address", |
365 |
Run.bind_addr?Run.bind_addr:"Any/All"); |
Run.bind_addr?Run.bind_addr:"Any/All"); |
366 |
|
printf(" %-18s = %s\n", "Use ssl encryption", Run.httpdssl?"True":"False"); |
367 |
|
|
368 |
|
if (Run.httpdssl) { |
369 |
|
printf(" %-18s = %s\n", "PEM key/cert file", Run.httpsslpem); |
370 |
|
|
371 |
|
} |
372 |
|
|
373 |
printf(" %-18s = %s\n", "httpd auth. style", |
printf(" %-18s = %s\n", "httpd auth. style", |
374 |
Run.Auth.defined&&has_hosts_allow()? |
Run.Auth.defined&&has_hosts_allow()? |
375 |
"Basic Authentication and Host allow list": |
"Basic Authentication and Host allow list": |