```bash
sudo env PATH="$PATH" \
- serviceman --system --username $(whoami) --name caddy -- \
+ serviceman add --system --username $(whoami) --name caddy -- \
caddy run --config ./Caddyfile
```
Use Serviceman to create a _launchd_ plist file.
```bash
-serviceman --username $(whoami) --name caddy -- \
+serviceman add --username $(whoami) --name caddy -- \
caddy run --config ./Caddyfile
```
Use Serviceman to create a Startup entry in the Windows Registry:
```bash
-serviceman.exe --name caddy -- \
+serviceman.exe add --name caddy -- \
caddy run --config ./Caddyfile
```