CRIU-RPC is a remote procedure call (RPC) protocol which uses Google Protocol Buffers to encode its calls. The requests are served by CRIU service launched with <code>criu service</code> command. It uses a SEQPACKET Unix domain socket listening at <code>/var/run/criu-srvice.socket</code> as transport.
+
CRIU-RPC is a remote procedure call (RPC) protocol which uses Google Protocol Buffers to encode its calls. The requests are served by CRIU service launched with <code>criu service</code> command. It uses a SEQPACKET Unix domain socket listening at <code>/var/run/criu-service.socket</code> as a transport.
== Protobuf messages ==
== Protobuf messages ==
Line 91:
Line 91:
If CRIU gets unknown type of request, it will return criu_resp with type == EMPTY and success == false.
If CRIU gets unknown type of request, it will return criu_resp with type == EMPTY and success == false.
−
To launch service server run:
+
To launch service server, run:
<pre>#criu service [options]</pre>
<pre>#criu service [options]</pre>
Line 120:
Line 120:
== Security ==
== Security ==
−
Please, refer to the respective section in [[Usage]] page.