src_prepare-overlay/www-apps/miniflux/files/miniflux.initd-r1

17 lines
502 B
Plaintext
Raw Normal View History

2020-10-29 22:53:34 +01:00
#!/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"