summaryrefslogtreecommitdiff
path: root/bin/bbstored/bbstored.cpp
blob: c0ea1199fd28c0c2480c2cf5caef64321edfd373 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// --------------------------------------------------------------------------
//
// File
//		Name:    bbstored.cpp
//		Purpose: main file for backup store daemon
//		Created: 2003/08/20
//
// --------------------------------------------------------------------------

#include "Box.h"
#include "BackupStoreDaemon.h"
#include "MainHelper.h"
#include "Logging.h"

#include "MemLeakFindOn.h"

int main(int argc, const char *argv[])
{
	MAINHELPER_START

	Logging::SetProgramName("Box Backup (bbstored)");
	Logging::ToConsole(true);
	Logging::ToSyslog (true);

	BackupStoreDaemon daemon;
	return daemon.Main(BOX_FILE_BBSTORED_DEFAULT_CONFIG, argc, argv);
	
	MAINHELPER_END
}