diff options
author | Justin R. Cutler <justin.r.cutler@gmail.com> | 2019-12-09 14:20:09 -0500 |
---|---|---|
committer | techknowlogick <techknowlogick@gitea.io> | 2019-12-09 14:20:09 -0500 |
commit | 2d8a89563d3cc9be4564c927d2df2317ce758ef8 (patch) | |
tree | a6a4e8e09218ba5d7867d0c737095bd0a11bc23f /docs/content | |
parent | 7f0d7c0a17240db5be3fc5755a751d047af5faa6 (diff) | |
download | gitea-2d8a89563d3cc9be4564c927d2df2317ce758ef8.tar.gz gitea-2d8a89563d3cc9be4564c927d2df2317ce758ef8.zip |
Correct port range for cap_net_bind_service (#9306)
Diffstat (limited to 'docs/content')
-rw-r--r-- | docs/content/doc/usage/command-line.en-us.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/doc/usage/command-line.en-us.md b/docs/content/doc/usage/command-line.en-us.md index 1bfaf8119b..6b0cfae3ba 100644 --- a/docs/content/doc/usage/command-line.en-us.md +++ b/docs/content/doc/usage/command-line.en-us.md @@ -46,7 +46,7 @@ Starts the server: - `gitea web --port 80` - `gitea web --config /etc/gitea.ini --pid /var/run/gitea.pid` - Notes: - - Gitea should not be run as root. To bind to a port below 1000, you can use setcap on + - Gitea should not be run as root. To bind to a port below 1024, you can use setcap on Linux: `sudo setcap 'cap_net_bind_service=+ep' /path/to/gitea`. This will need to be redone every time you update Gitea. |