diff options
Diffstat (limited to 'net-news/miniflux/files')
-rw-r--r-- | net-news/miniflux/files/miniflux.conf | 1 | ||||
-rwxr-xr-x | net-news/miniflux/files/miniflux.initd | 15 |
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" |