aboutsummaryrefslogtreecommitdiffstats
path: root/net-news/miniflux/files
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-02-27 12:52:28 +0100
committerWynn Wolf Arbor2020-02-27 12:52:28 +0100
commit8057a3429bb173d5bbfef95f21dbed89b8a51997 (patch)
tree98799b478bae9bdde823e11ccfa070b903f1e4f7 /net-news/miniflux/files
parentb38b0346be64dbd049a7505777b2303671cb39bd (diff)
downloadpramantha-8057a3429bb173d5bbfef95f21dbed89b8a51997.tar.gz
net-news/miniflux: Add 2.0.20
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Diffstat (limited to '')
-rw-r--r--net-news/miniflux/files/miniflux.conf1
-rwxr-xr-xnet-news/miniflux/files/miniflux.initd15
2 files changed, 16 insertions, 0 deletions
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"