@@ -12,7 +12,7 @@
|
||||
namespace vamp_zero {
|
||||
|
||||
struct command_line {
|
||||
std::string config_path{"/etc/product-vamp/vamp.json"};
|
||||
std::string config_path{"/etc/product_vamp/vamp.json"};
|
||||
std::bool_t check_config{};
|
||||
std::bool_t health_check{};
|
||||
std::bool_t print_build_info{};
|
||||
|
||||
@@ -19,17 +19,17 @@ namespace vamp_zero {
|
||||
struct runtime_config {
|
||||
std::bool_t headless{false};
|
||||
std::bool_t exit_after_startup{false};
|
||||
std::string assets_path{"/usr/share/product-vamp"};
|
||||
std::string heartbeat_path{"/run/product-vamp/heartbeat.json"};
|
||||
std::string assets_path{"/usr/share/product_vamp"};
|
||||
std::string heartbeat_path{"/run/product_vamp/heartbeat.json"};
|
||||
};
|
||||
|
||||
struct database_config {
|
||||
std::string path{"/usr/share/product-vamp/catalog.db"};
|
||||
std::string path{"/usr/share/product_vamp/catalog.db"};
|
||||
};
|
||||
|
||||
struct control_config {
|
||||
ligo::endpoint_config endpoint{
|
||||
.name = "product-vamp-control",
|
||||
.name = "product_vamp_control",
|
||||
.protocol = ligo::protocol::HTTP,
|
||||
.bind = "0.0.0.0:8080",
|
||||
.timeout = std::chrono::milliseconds{5000},
|
||||
|
||||
Reference in New Issue
Block a user