Skip to content

Commit 2d8a895

Browse files
jrcutlertechknowlogick
authored andcommitted
Correct port range for cap_net_bind_service (#9306)
1 parent 7f0d7c0 commit 2d8a895

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/doc/usage/command-line.en-us.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Starts the server:
4646
- `gitea web --port 80`
4747
- `gitea web --config /etc/gitea.ini --pid /var/run/gitea.pid`
4848
- Notes:
49-
- Gitea should not be run as root. To bind to a port below 1000, you can use setcap on
49+
- Gitea should not be run as root. To bind to a port below 1024, you can use setcap on
5050
Linux: `sudo setcap 'cap_net_bind_service=+ep' /path/to/gitea`. This will need to be
5151
redone every time you update Gitea.
5252

0 commit comments

Comments
 (0)