Does cockroachdb can set a startup parameter?

Does cockroachdb can set a startup parameter, similar to MySQL my.cnf configuration file , write the modified parameters to the file?

Hi hiller1!

thank you for your question. CockroachDB does not currently accept reading configuration from files. The reason is that configuration files often makes it more, not less, difficult for administrators to ensure they use the same configuration on different machines. We usually recommend to use a shell script to invoke the cockroach command, and treat that shell script as configuration file.

Hope this helps!