/[pdpsoft]/trunk/grid-mw-security/ees/src/app/eic_test.c
ViewVC logotype

Diff of /trunk/grid-mw-security/ees/src/app/eic_test.c

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

revision 1568 by aramv, Tue Mar 16 13:24:33 2010 UTC revision 1569 by aramv, Tue Mar 16 17:35:17 2010 UTC
# Line 73  void signal_handler(sig){ Line 73  void signal_handler(sig){
73      case SIGTERM:      case SIGTERM:
74        eef_log(LOG_NOTICE, "Got SIGTERM - shutting down\n");        eef_log(LOG_NOTICE, "Got SIGTERM - shutting down\n");
75        EEF_Term();        EEF_Term();
76          exit(0);
77        break;        break;
78    }    }
79  }  }
# Line 93  int main (int argc, char* argv[]){ Line 94  int main (int argc, char* argv[]){
94    printf("Parsing config file %s\n", config_file);    printf("Parsing config file %s\n", config_file);
95    
96    /*#if !ENABLE_DEBUG*/    /*#if !ENABLE_DEBUG*/
97    EEF_Daemonize();    /*EEF_Daemonize();*/
98    signal(SIGHUP, signal_handler); /* catch hangup signal */    signal(SIGHUP, signal_handler); /* catch hangup signal */
99    signal(SIGTERM, signal_handler); /* catch kill signal */    signal(SIGTERM, signal_handler); /* catch kill signal */
100    /*#endif*/    /*#endif*/
# Line 111  int main (int argc, char* argv[]){ Line 112  int main (int argc, char* argv[]){
112    
113        /* Fire up SAML2-XACML2 */        /* Fire up SAML2-XACML2 */
114        process_xacml(PORT);        process_xacml(PORT);
       aos_dump_argslist();  
115    
116      }      }
117    }    }
   EEF_Term();  
118    printf("terminated!\n");    printf("terminated!\n");
119    
120    /*pthread_exit(NULL);*/    pthread_exit(NULL);
121    return 0;    return 0;
122  }  }
123    

Legend:
Removed from v.1568  
changed lines
  Added in v.1569

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28