jboxberger / synology-gitea-jboxberger

Synology Gitea Package
MIT License
58 stars 8 forks source link

How to enable autostart of gitea on synology #2

Closed alsmnn closed 5 years ago

alsmnn commented 5 years ago

Hi there, first of all thanks for the great work. Gitea runs flawlessly on our Synology, except for the autostart. When I reboot the synology, gitea isn't showing up automatically. Is there a possibility to config synology/gitea so it starts automatically after reboot?

Thanks in advance, @AljoLe

jboxberger commented 5 years ago

Hi AljoLe,

this is already the case. After reboot Gitea start automatically. Which Database Backend do you use?

Kind Regards

alsmnn commented 5 years ago

Hi jboxberger, I'm using MariaDB10 as a Database Backend.

Best Regards

jboxberger commented 5 years ago

Then i think the problem is that your database is not runnig or is not ready for service at the moment Gitea is starting. I am using SQLite and this works fine.

Kind Regards

alsmnn commented 5 years ago

Thanks for the info. This issue can be closed then.

jango-fx commented 1 year ago

i'm having the same issue: gitea is not starting after reboot. i'm using MariaDB10.

is there any way to check if the database is running during startup (it is when checking via DSM) or is there anyway to check/change the start-order of different services?