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
..
2020-07-17 18:15:12 +03:00
2020-04-05 07:20:50 +01:00
2020-08-13 10:11:24 -04:00
2019-06-12 15:41:28 -04:00
2018-11-04 22:20:00 -05:00
2019-06-12 15:41:28 -04:00
2020-08-13 10:11:24 -04:00
2019-11-22 08:03:45 +00:00
2019-03-08 11:42:50 -05:00
2019-08-17 13:10:17 +03:00
2020-04-05 07:20:50 +01:00