1Caddy(8) Caddy(8)
2
3
4
6 caddy-start - Starts the Caddy process in the background and then re‐
7 turns
8
9
10
12 caddy start [flags]
13
14
15
17 Starts the Caddy process, optionally bootstrapped with an initial con‐
18 fig file. This command unblocks after the server starts running or
19 fails to run.
20
21
22 If --envfile is specified, an environment file with environment vari‐
23 ables in the KEY=VALUE format will be loaded into the Caddy process.
24
25
26 On Windows, the spawned child process will remain attached to the ter‐
27 minal, so closing the window will forcefully stop Caddy; to avoid for‐
28 getting this, try using 'caddy run' instead to keep it in the fore‐
29 ground.
30
31
32
34 --adapter="" Name of config adapter to apply
35
36
37 --config="" Configuration file
38
39
40 --envfile="" Environment file to load
41
42
43 -h, --help[=false] help for start
44
45
46 --pidfile="" Path of file to which to write process ID
47
48
49 --watch[=false] Reload changed config file automatically
50
51
52
54 caddy(8)
55
56
57
59 15-Aug-2023 Auto generated by spf13/cobra
60
61
62
63Auto generated by spf13/cobra Aug 2023 Caddy(8)