aboutsummaryrefslogtreecommitdiff
path: root/net-libs/meta-srht/files/meta.sr.ht-api.initd
blob: 6280e787ab086b7ba59c25c482a7f9e1b4563f0b (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 ${ADDRESS}:${PORT}"
command_user="srht:srht"
command_background=true
pidfile="/run/${RC_SVCNAME}.pid"

depend() {
	need net
}