aboutsummaryrefslogtreecommitdiff
blob: ac4451762c265dd42174ffc92a845335a3653b6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/sbin/openrc-run
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

description="Gemini server"
pidfile="/var/run/gemserv.pid"
command="/usr/bin/gemserv"
command_args="${GEMSERV_CONFIG:-/etc/gemserv/config.toml} > ${GEMSERV_LOGFILE:-/dev/null}"
command_user="${GEMSERV_USER:-gemini}"
command_background="true"

depend() {
	need net
	use dns
}