mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
Make sure that the service is started after any of the supported databases. Fixes RM: #10469
16 lines
537 B
Text
16 lines
537 B
Text
#!/sbin/openrc-run
|
|
|
|
supervisor=supervise-daemon
|
|
name=gitea
|
|
command="/usr/bin/gitea"
|
|
command_user="${GITEA_USER:-gitea}"
|
|
command_args="web --config '${GITEA_CONF:-/etc/gitea/app.ini}'"
|
|
supervise_daemon_args="--env GITEA_WORK_DIR='${GITEA_WORK_DIR:-/var/lib/gitea}' --chdir '${GITEA_WORK_DIR:-/var/lib/gitea}' --stdout '${GITEA_LOG_FILE:-/var/log/gitea/http.log}' --stderr '${GITEA_LOG_FILE:-/var/log/gitea/http.log}'"
|
|
pidfile="/run/gitea.pid"
|
|
|
|
depend() {
|
|
use logger dns
|
|
need net
|
|
after firewall mysql postgresql
|
|
}
|
|
|