forked from gitea/gitea
1
0
Fork 0
gitea/cmd
zeripath ac3cfad23d
Make the default PID file compile-time settable (#12485)
#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>
2020-08-15 21:15:27 +01:00
..
admin.go make `gitea admin auth list` formatting configurable (#10844) 2020-03-27 22:26:43 +01:00
admin_auth_ldap.go Add restricted user filter to LDAP authentication (#10600) 2020-03-05 08:30:33 +02:00
admin_auth_ldap_test.go Add restricted user filter to LDAP authentication (#10600) 2020-03-05 08:30:33 +02:00
cert.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
cmd.go Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
convert.go Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
doctor.go Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
dump.go Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
embedded.go Implement "embedded" command to extract static resources (#9982) 2020-02-02 10:17:44 +08:00
embedded_stub.go Implement "embedded" command to extract static resources (#9982) 2020-02-02 10:17:44 +08:00
generate.go TrimSpace when reading InternalToken from a file (#11502) 2020-05-20 19:16:06 +03:00
hook.go Add debug option to hooks (#11624) 2020-05-28 23:04:44 -04:00
keys.go Add debug option to serv to help debug problems (#9492) 2019-12-25 23:44:57 +08:00
manager.go Pause, Resume, Release&Reopen, Add and Remove Logging from command line (#11777) 2020-07-05 20:07:07 -04:00
migrate.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 2019-12-15 09:51:28 +00:00
serv.go Multiple LFS improvements (#10667) 2020-03-09 19:56:18 +00:00
web.go Make the default PID file compile-time settable (#12485) 2020-08-15 21:15:27 +01:00
web_graceful.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 2019-12-15 09:51:28 +00:00