This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Don't create a default pid file (
#637
)
tags/v1.21.12.1
Bwko
Lunny Xiao
8 years ago
parent
27fcf8d30a
commit
4a1f36c3cc
2 changed files
with
3 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
cmd/web.go
+2
-4
modules/setting/setting.go
+ 1
- 1
cmd/web.go
View File
@@ -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",
Usage: "Custom pid file path",
},
},
+ 2
- 4
modules/setting/setting.go
View File
@@ -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"
}
Write
Preview
Loading…
Cancel
Save