| Revision 3107,
663 bytes
checked in by chris, 3 weeks ago
(diff) |
|
Use the correct default config file for bbstored, thanks Pete!
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | // -------------------------------------------------------------------------- |
|---|
| 2 | // |
|---|
| 3 | // File |
|---|
| 4 | // Name: bbstored.cpp |
|---|
| 5 | // Purpose: main file for backup store daemon |
|---|
| 6 | // Created: 2003/08/20 |
|---|
| 7 | // |
|---|
| 8 | // -------------------------------------------------------------------------- |
|---|
| 9 | |
|---|
| 10 | #include "Box.h" |
|---|
| 11 | #include "BackupStoreDaemon.h" |
|---|
| 12 | #include "MainHelper.h" |
|---|
| 13 | #include "Logging.h" |
|---|
| 14 | |
|---|
| 15 | #include "MemLeakFindOn.h" |
|---|
| 16 | |
|---|
| 17 | int main(int argc, const char *argv[]) |
|---|
| 18 | { |
|---|
| 19 | MAINHELPER_START |
|---|
| 20 | |
|---|
| 21 | Logging::SetProgramName("bbstored"); |
|---|
| 22 | Logging::ToConsole(true); |
|---|
| 23 | Logging::ToSyslog (true); |
|---|
| 24 | |
|---|
| 25 | BackupStoreDaemon daemon; |
|---|
| 26 | |
|---|
| 27 | return daemon.Main(BOX_GET_DEFAULT_BBSTORED_CONFIG_FILE, argc, argv); |
|---|
| 28 | |
|---|
| 29 | MAINHELPER_END |
|---|
| 30 | } |
|---|
| 31 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.