aboutsummaryrefslogtreecommitdiffstats
path: root/net-news/miniflux/files/miniflux.initd
blob: 317849c3cad872eabf7f49d86e04a520326c57f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/sbin/openrc-run
# Copyright 2020 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

depend() {
	need 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"

start_pre() {
	checkpath -q -d -o miniflux "/run/miniflux"
}