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

depend() {
	need net
}