/[monit]/monit/util.c
ViewVC logotype

Diff of /monit/util.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.34 by hauk, Sun Sep 15 15:50:17 2002 UTC revision 1.35 by chopp, Thu Oct 10 16:08:53 2002 UTC
# Line 355  void printrunlist() { Line 355  void printrunlist() {
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":

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26