From 8057a3429bb173d5bbfef95f21dbed89b8a51997 Mon Sep 17 00:00:00 2001 From: Wynn Wolf Arbor Date: Thu, 27 Feb 2020 12:52:28 +0100 Subject: net-news/miniflux: Add 2.0.20 Package-Manager: Portage-2.3.84, Repoman-2.3.20 --- net-news/miniflux/files/miniflux.conf | 1 + net-news/miniflux/files/miniflux.initd | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 net-news/miniflux/files/miniflux.conf create mode 100755 net-news/miniflux/files/miniflux.initd (limited to 'net-news/miniflux/files') diff --git a/net-news/miniflux/files/miniflux.conf b/net-news/miniflux/files/miniflux.conf new file mode 100644 index 0000000..d5b06c9 --- /dev/null +++ b/net-news/miniflux/files/miniflux.conf @@ -0,0 +1 @@ +DATABASE_URL=postgresql:///miniflux?sslmode=disable&host=/run/postgresql diff --git a/net-news/miniflux/files/miniflux.initd b/net-news/miniflux/files/miniflux.initd new file mode 100755 index 0000000..adc6c0b --- /dev/null +++ b/net-news/miniflux/files/miniflux.initd @@ -0,0 +1,15 @@ +#!/sbin/openrc-run +# Copyright 2020 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + after postgresql +} + +command="/usr/bin/miniflux" +command_args="-c /etc/miniflux/miniflux.conf" + +command_background="yes" +command_user="miniflux" +description="miniflux feed reader" +pidfile="/run/miniflux.pid" -- cgit v1.2.3-2-gb3c3