Introduce dinit supervisor snippet

Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
2026-02-14 11:04:23 -03:00
parent 408c84a3ea
commit e96153c9b9

14
contrib/dinit/gitea Normal file
View File

@@ -0,0 +1,14 @@
# SPDX-License-Identifier: CDDL-1.0
# vim: ft=confini
command = /usr/local/bin/gitea web --config /etc/gitea/app.ini
# If using MariaDB
# need = mariadb
# If using PostgreSQL
# need = postgresql
# If using Redis
# need = redis
restart = on-failure
restart-delay = 2
run-as = git
smooth-recovery = yes
type = process