Changeset 2262 for box/trunk/bin/bbstored/BackupStoreDaemon.cpp
- Timestamp:
- 21/08/2008 12:18:39 (4 years ago)
- File:
-
- 1 edited
-
box/trunk/bin/bbstored/BackupStoreDaemon.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/bin/bbstored/BackupStoreDaemon.cpp
r2226 r2262 173 173 mExtendedLogging = config.GetKeyValueBool("ExtendedLogging"); 174 174 175 #ifdef WIN32 176 // Housekeeping runs synchronously on Win32 177 #else 178 // Fork off housekeeping daemon -- must only do this the first time Run() is called 179 if(!mHaveForkedHousekeeping) 175 // Fork off housekeeping daemon -- must only do this the first 176 // time Run() is called. Housekeeping runs synchronously on Win32 177 // because IsSingleProcess() is always true 178 179 #ifndef WIN32 180 if(!IsSingleProcess() && !mHaveForkedHousekeeping) 180 181 { 181 182 // Open a socket pair for communication … … 207 208 BOX_INFO("Housekeeping process started"); 208 209 // Ignore term and hup 209 // Parent will handle these and alert the child via the socket, don't want to randomly die 210 // Parent will handle these and alert the 211 // child via the socket, don't want to 212 // randomly die! 210 213 ::signal(SIGHUP, SIG_IGN); 211 214 ::signal(SIGTERM, SIG_IGN);
Note: See TracChangeset
for help on using the changeset viewer.
