mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-06-28 16:20:03 +08:00
.github
assets
build
cmd
contrib
environment-to-ini
fhs-compliant-script
fixtures
ide
init
centos
debian
freebsd
gentoo
openbsd
sunos
suse
gitea
launchd
legal
options
pr
supervisor
systemd
README
autoboot.sh
mysql.sql
custom
docker
docs
integrations
models
modules
options
public
routers
services
snap
templates
tools
vendor
web_src
.air.conf
.changelog.yml
.drone.yml
.editorconfig
.eslintrc
.gitattributes
.gitignore
.golangci.yml
.ignore
.lgtm
.npmrc
.revive.toml
.stylelintrc
BSDmakefile
CHANGELOG.md
CONTRIBUTING.md
DCO
Dockerfile
LICENSE
MAINTAINERS
Makefile
README.md
README_ZH.md
SECURITY.md
build.go
go.mod
go.sum
main.go
package-lock.json
package.json
semantic.json
webpack.config.js

#12391 offered to change the default PID file from /var/run/gitea.pid however in discussion it was decided that this could break users of older systems. An alternative was offered that we could make the PID file compile/link time settable. This PR does this, and changes the name of the setting from CustomPID to simply PIDFile. It also updates the from-source docs to show how to change the compiler settings to do this. Closes #12391 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Florian Klink <flokli@flokli.de>