Changes in conf.c [34b17d9:7cf85e7]
Legend:
- Unmodified
- Added
- Removed
-
conf.c
r34b17d9 r7cf85e7 32 32 #include "ini.h" 33 33 #include "url.h" 34 #include "ipc.h" 34 35 35 36 #include "protocols/proxy.h" … … 78 79 } 79 80 80 while( argc > 0 && ( opt = getopt( argc, argv, "i:p:P:nvIDFc:d:h " ) ) >= 0 )81 while( argc > 0 && ( opt = getopt( argc, argv, "i:p:P:nvIDFc:d:hR:" ) ) >= 0 ) 81 82 /* ^^^^ Just to make sure we skip this step from the REHASH handler. */ 82 83 { … … 138 139 " -D Daemon mode. (Still EXPERIMENTAL!)\n" 139 140 " -F Forking daemon. (one process per client)\n" 141 " -P Specify PID-file (not for inetd mode)\n" 140 142 " -i Specify the interface (by IP address) to listen on.\n" 141 143 " (Default: 0.0.0.0 (any interface))\n" … … 147 149 " -h Show this help page.\n" ); 148 150 return( NULL ); 151 } 152 else if( opt == 'R' ) 153 { 154 /* We can't load the statefile yet (and should make very sure we do this 155 only once), so set the filename here and load the state information 156 when initializing ForkDaemon. (This option only makes sense in that 157 mode anyway!) */ 158 ipc_master_set_statefile( optarg ); 149 159 } 150 160 }
Note: See TracChangeset
for help on using the changeset viewer.