Skip to content

Commit

Permalink
feat: Craned fork,exec and init Supervisor.
Browse files Browse the repository at this point in the history
Signed-off-by: Li Junlin <xiafeng.li@foxmail.com>
  • Loading branch information
L-Xiafeng committed Dec 23, 2024
1 parent 6b31364 commit 96ddb45
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 297 deletions.
1 change: 0 additions & 1 deletion protos/Supervisor.proto
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ message InitSupervisorRequest {
uint32 task_id = 1;
string debug_level = 2;
string craned_unix_socket_path = 3;
bool ok = 4;
}

message SupervisorReady {
Expand Down
2 changes: 2 additions & 0 deletions src/Craned/Craned/CranedPublicDefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ struct Config {
std::string CranedScriptDir;
std::string CranedUnixSockPath;

std::string SupervisorPath;

bool CranedForeground{};

std::string Hostname;
Expand Down
Loading

0 comments on commit 96ddb45

Please sign in to comment.