macos fix
Some checks reported errors
BlockStorage/repertory/pipeline/head Build queued...
BlockStorage/repertory_mac/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
2025-09-07 08:58:56 -05:00
parent cafa012bca
commit 2d5e28cfc2

View File

@@ -286,6 +286,7 @@ void mgmt_app_config::set_auto_start(bool auto_start) {
#endif // defined(_WIN32)
#if defined(__APPLE__)
const auto *label = "com.fifthgrid.blockstorage.repertory.ui";
auto file = utils::file::file{
utils::path::combine("~", {"/Library/LaunchAgents", label}),
};
@@ -297,7 +298,7 @@ void mgmt_app_config::set_auto_start(bool auto_start) {
"-lo",
};
cfg.keep_alive = false;
cfg.label = "com.fifthgrid.blockstorage.repertory.ui";
cfg.label = label;
cfg.plist_path = file.get_path();
cfg.run_at_load = true;
cfg.stderr_log = "/tmp/repertory_ui.err";