0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-21 09:04:13 +01:00
gitea/contrib/systemd
silverwind 4c3e56da13
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>
2021-05-17 16:09:15 +03:00
..
gitea.service Use Wants= over Requires= in systemd file (#15897) 2021-05-17 16:09:15 +03:00