summaryrefslogtreecommitdiff
path: root/www-apps/miniflux/files/miniflux.initd
blob: f8a8c59132dae2f6fa7e10e6b5c9a9e2fe0e48e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/sbin/openrc-run
# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

: ${MINIFLUX_USER:=miniflux}
: ${MINIFLUX_GROUP:=nobody}
: ${MINIFLUX_CONF:=/etc/miniflux.conf}

name="miniflux daemon"
description="Miniflux Web Server"
command=/usr/bin/miniflux
command_args="${miniflux_args} -c ${MINIFLUX_CONF}"
command_background="true"
command_user="${MINIFLUX_USER}:${MINIFLUX_GROUP}"
error_log="/var/log/${RC_SVCNAME}.err"
pidfile="/run/${RC_SVCNAME}.pid"