.nh .TH "Caddy" "8" "Apr 2023" "Auto generated by spf13/cobra" "" .SH NAME .PP caddy-start - Starts the Caddy process in the background and then returns .SH SYNOPSIS .PP \fBcaddy start [flags]\fP .SH DESCRIPTION .PP Starts the Caddy process, optionally bootstrapped with an initial config file. This command unblocks after the server starts running or fails to run. .PP If --envfile is specified, an environment file with environment variables in the KEY=VALUE format will be loaded into the Caddy process. .PP On Windows, the spawned child process will remain attached to the terminal, so closing the window will forcefully stop Caddy; to avoid forgetting this, try using 'caddy run' instead to keep it in the foreground. .SH OPTIONS .PP \fB--adapter\fP="" Name of config adapter to apply .PP \fB--config\fP="" Configuration file .PP \fB--envfile\fP="" Environment file to load .PP \fB-h\fP, \fB--help\fP[=false] help for start .PP \fB--pidfile\fP="" Path of file to which to write process ID .PP \fB--watch\fP[=false] Reload changed config file automatically .SH SEE ALSO .PP \fBcaddy(8)\fP .SH HISTORY .PP 17-Apr-2023 Auto generated by spf13/cobra