diff --git a/docs/content/doc/installation/from-source.en-us.md b/docs/content/doc/installation/from-source.en-us.md index ef116afc5a..9bf5c55f00 100644 --- a/docs/content/doc/installation/from-source.en-us.md +++ b/docs/content/doc/installation/from-source.en-us.md @@ -137,7 +137,7 @@ launched manually from command line, it can be killed by pressing `Ctrl + C`. ./gitea web ``` -## Changing the default CustomPath, CustomConf and AppWorkPath +## Changing default paths Gitea will search for a number of things from the `CustomPath`. By default this is the `custom/` directory in the current working directory when running Gitea. It will also diff --git a/modules/setting/setting.go b/modules/setting/setting.go index c4cbe1dd98..f7edd8e507 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -375,7 +375,7 @@ var ( Cfg *ini.File CustomPath string // Custom directory path CustomConf string - PIDFile = "/var/run/gitea.pid" + PIDFile = "/run/gitea.pid" WritePIDFile bool ProdMode bool RunUser string