aboutsummaryrefslogblamecommitdiffstats
path: root/net-news/miniflux/files/miniflux.initd
blob: 4efc960331e157672a90296aa8e749642b7b15c1 (plain) (tree)
1
2
3
4
5
6
                  
                                    


                                                                  
                       








                                             



                                                   
#!/sbin/openrc-run
# Copyright 2020-2021 Gentoo Authors
# 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"
}