mirror of
https://codeberg.org/cunicu/cunicu.git
synced 2025-09-26 21:01:14 +08:00
Fix race during daemon restart
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
This commit is contained in:
@@ -43,12 +43,15 @@ message AddPeerResp {
|
||||
core.Interface interface = 2;
|
||||
}
|
||||
|
||||
message ShutdownParams {
|
||||
bool restart = 1;
|
||||
}
|
||||
|
||||
service Daemon {
|
||||
rpc GetBuildInfo(Empty) returns (BuildInfo) {}
|
||||
rpc StreamEvents(Empty) returns (stream Event) {}
|
||||
rpc UnWait(Empty) returns (Empty) {}
|
||||
rpc Stop(Empty) returns (Empty) {}
|
||||
rpc Restart(Empty) returns (Empty) {}
|
||||
rpc Shutdown(ShutdownParams) returns (Empty) {}
|
||||
rpc Sync(Empty) returns (Empty) {}
|
||||
rpc GetStatus(GetStatusParams) returns (GetStatusResp) {}
|
||||
|
||||
|
Reference in New Issue
Block a user