1,074 bytes added
, 16:24, 1 July 2018
== This Page Is Work In Progress - Not Ready ==
Many of CRIU's command-line options can also be influenced via configuration files. Configuration files are evaluated in [[CLI]] and [[RPC]] mode. It is important to know that configuration files are evaluated before the options set via CLI or RPC. This means that whatever is configured in the configuration files will be overwritten by explicitly set values via CLI or RPC.
=== Configuration File Location ===
The default configuration files parsed by CRIU, it they are present on the system, are first <code>/etc/criu/default.conf</code> and then <code>$HOME/.criu/default.conf</code>. Settings in the file <code>/etc/criu/default.conf</code> are overridden by settings in <code>$HOME/.criu/default.conf</code>.
Without any additional parameters CRIU configuration file parsing works like this:
# <code>/etc/criu/default.conf</code>; these values can be overridden by
# <code>$HOME/.criu/default.conf</code>; these values can be overridden by
# CLI or RPC configuration options
[[Category:CLI]]
[[Category:API]]