-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[WIP] Restart after install page #12696
Conversation
Signed-off-by: Andrew Thornton <art27@cantab.net>
return 0, err | ||
} | ||
process, err := os.StartProcess(argv0, os.Args, &os.ProcAttr{ | ||
Dir: originalWD, |
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.
modules\graceful\restart.go:21:10: undefined: originalWD
Codecov Report
@@ Coverage Diff @@
## master #12696 +/- ##
==========================================
- Coverage 43.31% 43.29% -0.02%
==========================================
Files 645 646 +1
Lines 71527 71596 +69
==========================================
+ Hits 30981 30997 +16
- Misses 35540 35584 +44
- Partials 5006 5015 +9
Continue to review full report at Codecov.
|
Signed-off-by: Andrew Thornton <art27@cantab.net>
Currently Gitea will simply try to run normally after the install page has completed. This unfortunately doesn't quite work with duplicate log entries and other problems.
This PR causes Gitea to completely restart after the install page has been run.
Signed-off-by: Andrew Thornton art27@cantab.net