We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27fcf8d commit 4a1f36cCopy full SHA for 4a1f36c
cmd/web.go
@@ -62,7 +62,7 @@ and it takes care of all the other things for you`,
62
},
63
cli.StringFlag{
64
Name: "pid, P",
65
- Value: "custom/run/app.pid",
+ Value: "/var/run/gitea.pid",
66
Usage: "Custom pid file path",
67
68
modules/setting/setting.go
@@ -515,12 +515,10 @@ please consider changing to GITEA_CUSTOM`)
515
}
516
517
518
- if len(CustomPID) == 0 {
519
- CustomPID = CustomPath + "/run/app.pid"
+ if len(CustomPID) > 0 {
+ createPIDFile(CustomPID)
520
521
522
- createPIDFile(CustomPID)
523
-
524
if len(CustomConf) == 0 {
525
CustomConf = CustomPath + "/conf/app.ini"
526
0 commit comments