| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
| |
Move Windows service startup, installation and removal to BackupDaemon.
(merges [1854])
|
|
|
|
|
|
|
| |
Return a non-zero exit code if running as a service fails.
(merges [1813])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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])
|
|
|
|
|
| |
set in Daemon, patch to follow. (refs #3)
|
|
|
|
|
|
|
| |
console.
Don't closelog() here, let Logging do that for us. (refs #3)
|
| |
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
- Return the status code from InstallService() and RemoveService() as
exit code (0 on success, 1 on failure)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
| |
* Win32ServiceFunctions.h
- Revert to trunk
|
|
|
|
|
|
|
| |
- 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).
|
|
|
|
| |
distribution
|
|
|
|
| |
You may need a new checkout to see this.
|
| |
|
|
|