diff options
Diffstat (limited to 'www-apps/miniflux/files/miniflux.initd')
-rw-r--r-- | www-apps/miniflux/files/miniflux.initd | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/www-apps/miniflux/files/miniflux.initd b/www-apps/miniflux/files/miniflux.initd new file mode 100644 index 000000000000..f8a8c59132da --- /dev/null +++ b/www-apps/miniflux/files/miniflux.initd @@ -0,0 +1,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" |