From a5378bbce01166a6726e3462b367128a70110909 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Tue, 18 Aug 2020 13:21:24 +0200 Subject: [PATCH] change PIDFile default from /var/run/gitea.pid to /run/gitea.pid (#12500) * docs: update heading This section covers more paths than the 3 listed in the heading. * setting: change PIDFile default from /var/run/gitea.pid to /run/gitea.pid On most modern distributions, /var/run is deprecated and only kept for backwards compat according to https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch05s13.html, and is a symlink to `/run/` on modern distributions. Old Distros that still don't have `/run` can update the gitea default as described in from-source.en-us.md to point to the old location. Co-authored-by: Lauris BH Co-authored-by: Lunny Xiao --- doc/installation/from-source.en-us.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/installation/from-source.en-us.md b/doc/installation/from-source.en-us.md index ef116afc..9bf5c55f 100644 --- a/doc/installation/from-source.en-us.md +++ b/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