blob: 9d5aac0e5bffb8595dc58f47f72a759a680b8c80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/sbin/openrc-run
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
name="git.sr.ht daemon"
description=""
command="/usr/bin/gunicorn"
command_args="gitsrht.app:app -b ${ADDRESS}:${PORT}"
command_user="srht:srht"
command_background=true
pidfile="/run/${RC_SVCNAME}.pid"
depend() {
need net
}
|