diff options
author | silverwind <me@silverwind.io> | 2021-05-17 15:09:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-17 16:09:15 +0300 |
commit | 4c3e56da1329c8f0de8e25c094753e968b4b6627 (patch) | |
tree | 08985ab89050f6dc908ea4fe1f6580b528bf2058 /models | |
parent | a137ee7a68b2246507b8def2de67a4553661a28f (diff) | |
download | gitea-4c3e56da1329c8f0de8e25c094753e968b4b6627.tar.gz gitea-4c3e56da1329c8f0de8e25c094753e968b4b6627.zip |
Use Wants= over Requires= in systemd file (#15897)
`Requires=` has the behaviour of stopping `gitea.service` when the
database is stopped but not bringing it up again after the database is
started again. Use `Wants=` to define a weak requirement instead,
meaning `gitea.service` will be kept running when the database is
stopped, which is not an issue because gitea will just reconnect later
on.
Fixes: https://github.com/go-gitea/gitea/issues/15866
Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'models')
0 files changed, 0 insertions, 0 deletions