Gitea does not start after a reboot when PostgreSQL is used as the database back end.
Gitea does not start after a reboot when PostgreSQL is used as the database back end. This is due to the fact that PostgreSQL starts after Gitea.
This issue can be fixed by adding postgresl and mysql to the after line of the depend function in /etc/init.d/gitea:
<code class="text">
depend() {
use logger dns
need net
after firewall postgresql mysql
}
</code>
(from redmine: issue id 10469, created on 2019-05-20, closed on 2019-06-19)
- Changesets:
- Revision d8de5b46 by Kevin Daudt on 2019-06-18T18:24:43Z:
community/gitea: start after database
Make sure that the service is started after any of the supported
databases.
Fixes RM: #10469