1
0
Fork 0
forgejo/contrib
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
..
environment-to-ini Only write config in environment-to-ini if there are changes (#15861) 2021-05-14 01:01:05 +02:00
fhs-compliant-script
fixtures
ide
init
launchd
legal
options/label
pr Refactor renders (#15175) 2021-04-19 18:25:08 -04:00
supervisor
systemd Use Wants= over Requires= in systemd file (#15897) 2021-05-17 16:09:15 +03:00
autoboot.sh
mysql.sql
README

All files in subdirectories are templates, do modifications based on your environment first.