Opened 8 years ago
Closed 7 years ago
#1835 closed task (wontfix)
Gogs does not restart on reboot
Reported by: | strk | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | SysAdmin | Keywords: | |
Cc: | martin |
Description
I noticed Gogs didn't restart on reboot. This is because PostgreSQL wasn't up by the time Gogs startup was attempted. Both startup scripts for postgresql and gogs have 02 prefix, and "gogs" is alphabetically lower than "posgresql".
I think the solution is giving Gogs a 03 prefix.
Martin, do you know how to do that cleanly rather than manually renaming the file ? I find no trace in /etc/init.d/gogs about the prefix, nor I do if the prefix would belong in there or just in the commandline installing it.
Note:
See TracTickets
for help on using tickets.
Gogs was replaced with gitea. I haven't heard of this being an issue in gitea while.
strk reopen if you feel this is still an issue.