change PIDFile default from /var/run/gitea.pid to /run/gitea.pid #12500

Merged
flokli merged 4 commits from pidfile-run into master 2020-08-18 11:21:24 +00:00
flokli commented 2020-08-16 12:37:03 +00:00 (Migrated from github.com)

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.

Follow-up on https://github.com/go-gitea/gitea/pull/12391#issuecomment-674449861 and https://github.com/go-gitea/gitea/pull/12485.

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. Follow-up on https://github.com/go-gitea/gitea/pull/12391#issuecomment-674449861 and https://github.com/go-gitea/gitea/pull/12485.
lafriks (Migrated from github.com) approved these changes 2020-08-16 19:53:25 +00:00
6543 (Migrated from github.com) approved these changes 2020-08-16 20:03:05 +00:00
This repo is archived. You cannot comment on pull requests.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lunny/gitea#12500
No description provided.