aboutsummaryrefslogtreecommitdiffstats
path: root/net-news/miniflux/files/miniflux.initd
diff options
context:
space:
mode:
Diffstat (limited to 'net-news/miniflux/files/miniflux.initd')
-rwxr-xr-xnet-news/miniflux/files/miniflux.initd15
1 files changed, 15 insertions, 0 deletions
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"