-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Fix --port setting #13288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix --port setting #13288
Changes from 4 commits
d494f2d
64ef829
42e97aa
26a6204
903d63e
6bdd2d8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,6 +40,7 @@ Starts the server: | |
|
||
- Options: | ||
- `--port number`, `-p number`: Port number. Optional. (default: 3000). Overrides configuration file. | ||
- `--install-port number`: Port number to run the install page on. Optional. (default: 3000). Overrides configuration file. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this change could be another PR. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's part of the fix really. If you make --port apply both before the install page and after the install page then the PORT option in the install page is irrelevant and it is overwritten. If you make --port only apply once then if there is a graceful restart after install the port that gitea runs on will change. If you make --port only apply to the install page then that may change behaviour for other people. In this case the only solution is provide a separate option for the install page then you can have a consistent solution. |
||
- `--pid path`, `-P path`: Pidfile path. Optional. | ||
- Examples: | ||
- `gitea web` | ||
|
Uh oh!
There was an error while loading. Please reload this page.