| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
Allows tests to depend on lib/bbackupd instead of bin/bbackupd, which was
always a hack, and really doesn't work with CMake.
|
|
|
|
|
|
|
|
| |
Pass the service name on the service command line, and use it for event
log messages.
(merges [1856])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
return it to Windows so that Windows doesn't tell the admin that
"the service did not report an error" when it stopped unexpectedly.
When failing to contact the SCM, report a textual error message as
well as the error code.
Make OurService() take a const char * instead of char *, so that we can
pass it a std::string.c_str().
InstallService creates service using "-s" option instead of "--service",
which no longer works once we use getopt() for option processing
(to follow).
(merges [1853])
|
|
|
|
|
|
|
| |
Return a non-zero exit code if running as a service fails.
(merges [1813])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
| |
- Header update
|
|
|
|
|
|
| |
* 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).
|
|
|