-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Add pid flag to serve and don't set pid by default #637
Conversation
Otherwise LGTM. |
}, cli.StringFlag{ | ||
Name: "pid, P", | ||
Value: "/var/run/gitea.pid", | ||
Usage: "Custom pid file path", | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
git serve
don't need pid
argument ?
@@ -62,7 +62,7 @@ and it takes care of all the other things for you`, | |||
}, | |||
cli.StringFlag{ | |||
Name: "pid, P", | |||
Value: "custom/run/app.pid", | |||
Value: "/var/run/gitea.pid", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why changing the current default?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/var/run/
Is the normal location for pid files
LGTM |
Solves the pid bug of #635