aboutsummaryrefslogtreecommitdiff
path: root/www-apps/meta-srht/files/meta.sr.ht.initd
blob: b7a3e7243fb25f10e94fa18df489b06691aaf17a (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="meta.sr.ht daemon"
description=""
command="/usr/bin/gunicorn"
command_args="metasrht.app:app -b 127.0.0.1:5000"
command_user="srht:srht"
command_background=true
pidfile="/run/${RC_SVCNAME}.pid"

depend() {
	need net
}