dboo::odb::start_server
static pid_t start_server(const std::string& server_executable_path,
const std::string& config_path, bool daemon_mode = true);
start_server(server_executable_path,
const std::string& config_path) : Number
Starts the dboo server.
Parameters
- server_executable_path
The path to the server binary.
- config_path
The path to a configuration file as generated by create server or dboo::odb::init_server.
- daemon_mode
If true, start as daemon
Return value
- pid
The pid of the started process.
Example