Don't create a default pid file (#637)
This commit is contained in:
parent
27fcf8d30a
commit
4a1f36c3cc
2 changed files with 3 additions and 5 deletions
|
@ -515,12 +515,10 @@ please consider changing to GITEA_CUSTOM`)
|
|||
}
|
||||
}
|
||||
|
||||
if len(CustomPID) == 0 {
|
||||
CustomPID = CustomPath + "/run/app.pid"
|
||||
if len(CustomPID) > 0 {
|
||||
createPIDFile(CustomPID)
|
||||
}
|
||||
|
||||
createPIDFile(CustomPID)
|
||||
|
||||
if len(CustomConf) == 0 {
|
||||
CustomConf = CustomPath + "/conf/app.ini"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue