Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
why declare PORT? #895
@augustf why is port declared here and a little lower?
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
It's standard practice to supply a PORT in these init scripts, when the script is automatically generated the tool doesn't know if the process it's starting is a server which requires a port or not so it defaults to creating one.
If we're manually tuning this script it makes sense to trim it, but if we're relying on the generator to keep it up to date we'll just be introducing more deviations to track down the line.