src_prepare-overlay/www-apps/miniflux/files/miniflux.initd-r1
2020-10-29 20:39:43 -04:00

17 lines
502 B
Plaintext

#!/sbin/openrc-run
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
: ${MINIFLUX_USER:=root}
: ${MINIFLUX_GROUP:=root}
: ${MINIFLUX_CONF:=/etc/miniflux.conf}
name="miniflux daemon"
description=""
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}/${RC_SVCNAME}.err"
pidfile="/run/${RC_SVCNAME}/${RC_SVCNAME}.pid"