awless: remove empty cheat sheet, update the update section
[webi-installers/.git] / caddy / README.md
index 020ded870793babb8557390f0a7419af29c335b9..424942aa2fa2612f927833c7892d48a197331aaf 100644 (file)
@@ -100,7 +100,7 @@ Using a user named `app` to run your services is common industry convention.
 You can use `setcap` to allow Caddy to use privileged ports.
 
 ```bash
-sudo setcap cap_net_bind_service=+ep $(readlink $(command -v caddy))
+sudo setcap cap_net_bind_service=+ep $(readlink -f $(command -v caddy))
 ```
 
 **systemd config**
@@ -118,7 +118,7 @@ Use Serviceman to create a _systemd_ config file.
 
 ```bash
 sudo env PATH="$PATH" \
-    serviceman --system --username $(whoami) --name caddy -- \
+    serviceman add --system --username $(whoami) --name caddy -- \
         caddy run --config ./Caddyfile
 ```
 
@@ -149,7 +149,7 @@ webi serviceman
 Use Serviceman to create a _launchd_ plist file.
 
 ```bash
-serviceman --username $(whoami) --name caddy -- \
+serviceman add --username $(whoami) --name caddy -- \
     caddy run --config ./Caddyfile
 ```
 
@@ -189,7 +189,7 @@ webi.bat serviceman
 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
 ```