Skip to content

Commit

Permalink
Correct port range for cap_net_bind_service (#9306)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrcutler authored and techknowlogick committed Dec 9, 2019
1 parent 7f0d7c0 commit 2d8a895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/doc/usage/command-line.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 2d8a895

Please sign in to comment.