Introduce dinit supervisor snippet
Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
14
contrib/dinit/gitea
Normal file
14
contrib/dinit/gitea
Normal 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
|
||||
Reference in New Issue
Block a user