src/server/daemon/configmanager.c

changeset 60
feb2f1e115c6
parent 47
ce9790523346
child 61
c858850f3d3a
equal deleted inserted replaced
59:ab25c0a231d0 60:feb2f1e115c6
113 113
114 if(f->last_modified != s.st_mtim.tv_sec) { 114 if(f->last_modified != s.st_mtim.tv_sec) {
115 /* reload the file */ 115 /* reload the file */
116 //printf("reload: %s\n", sstrdup(f->file).ptr); 116 //printf("reload: %s\n", sstrdup(f->file).ptr);
117 log_ereport( 117 log_ereport(
118 LOG_LEVEL_INFO, 118 LOG_INFORM,
119 "reload configuration file: %s", 119 "reload configuration file: %s",
120 f->file.ptr); 120 f->file.ptr);
121 f->reload(f, current_config); 121 f->reload(f, current_config);
122 cfgreload = 1; 122 cfgreload = 1;
123 } 123 }

mercurial