summaryrefslogtreecommitdiff
path: root/bin/bbackupd/bbackupd.cpp
Commit message (Collapse)AuthorAge
* Shorten names used by daemons.Chris Wilson2008-05-28
|
* Use Daemon's delegated option processing instead of our own hacks.Chris Wilson2007-10-17
| | | | | | Move Windows service startup, installation and removal to BackupDaemon. (merges [1854])
* Don't initialise MemLeakFinder twice when running as a service.Chris Wilson2007-09-07
| | | | | | | Return a non-zero exit code if running as a service fails. (merges [1813])
* Make Configuration take a std::string filename instead of a char array,Chris Wilson2007-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in C++ style. Add a function to get default config file paths at runtime, dependent on the location of the executable being run. Pass the config file name directly to Daemon::Main, instead of faking argv. No default raid file path at compile time on Windows, depends on executable location when run. Determine RaidFile path at runtime if not supplied in config file on Windows. Don't define default locations for config files at compile time on Windows, provide macros to determine them at runtime instead. Make FileHandleGuard take a std::string instead of a char array, C++ style. Determine config file location at runtime instead of hard-coding on Windows. Thanks to Paul MacKenzie, Per Thomsen, Pete Jalajas, Stuart Sanders, Dave Bamford and Gary for pushing me to do this. (fixes #12) Determine config file path at runtime. Call Daemon::Main with config file name instead of building fake argv. (refs #3, merges [1684] [1685] [1686] [1687] [1688] [1689] [1690] [1691] [1692])
* Allow Loggers to log everything, as is their wont. Master level will beChris Wilson2007-01-15
| | | | | set in Daemon, patch to follow. (refs #3)
* Always start by logging everything to syslog, even when running on the Chris Wilson2007-01-12
| | | | | | | console. Don't closelog() here, let Logging do that for us. (refs #3)
* Change all logging to use the logging framework, as an example. (refs #3)Chris Wilson2006-12-16
|
* * Replace global daemon object with a pointer, to allow deletion andChris Wilson2006-10-14
| | | | | | | | clean up reported memory leaks * No need to initialise Winsock here, now that lib/server/Daemon does it for us * Initialise logging properly (refs #3)
* * bbackupd.cppChris Wilson2006-08-09
| | | | | | - Return the status code from InstallService() and RemoveService() as exit code (0 on success, 1 on failure)
* * bin/bbackupd/Win32ServiceFunctions.hChris Wilson2006-08-09
| | | | | | | | | | | | | | * bin/bbackupd/Win32ServiceFunctions.cpp - InstallService() and OurService() take the config file name as a parameter - InstallService() returns an integer status code like RemoveService() - OurService() sets the global static config file name to pass into the main thread later * bin/bbackupd/bbackupd.cpp - Call InstallService() and OurService() with the config file name as a parameter
* * bbackupd.cppChris Wilson2006-08-09
| | | | | | * Win32ServiceFunctions.h - Revert to trunk
* * mergeChris Wilson2006-07-27
| | | | | | | - This is my current patch queue. I think that all of these are safe to apply. This is just under half of the pending changes in chris/general (the easy half).
* Merge chris/win32/vc2005-compile-fixes @ r455, add infrastructure/msvc to ↵Ben Summers2006-02-13
| | | | distribution
* Fixing up svn:executable properties.Martin Ebourne2005-12-12
| | | | You may need a new checkout to see this.
* Marged chris/win32/merge/07-win32-fixes at r210 to trunkMartin Ebourne2005-12-12
|
* Box Backup 0.09 with a few tweeksBen Summers2005-10-14