mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 10:15:12 +03:00
https://miniflux.app/ Miniflux is a minimalist and opinionated feed reader. Closes GH-8708
19 lines
495 B
Text
19 lines
495 B
Text
#!/sbin/openrc-run
|
|
|
|
supervisor=supervise-daemon
|
|
name=miniflux
|
|
command="/usr/bin/$name"
|
|
command_args="$miniflux_opts"
|
|
command_user="miniflux:miniflux"
|
|
pidfile="/run/$name.pid"
|
|
start_stop_daemon_args="--stdout $miniflux_log_file --stderr $miniflux_log_file"
|
|
|
|
depend() {
|
|
need net
|
|
after firewall
|
|
}
|
|
|
|
start_pre() {
|
|
checkpath -f -m 0644 -o ${SVCNAME}:${SVCNAME} "$miniflux_log_file"
|
|
[ -f "/etc/conf.d/${RC_SVCNAME}" ] && checkpath --file --mode 0600 --owner root:root "/etc/conf.d/${RC_SVCNAME}"
|
|
}
|