M miniflux/.gitignore => miniflux/.gitignore +1 -0
@@ 1,3 1,4 @@
\.#*
\#*
password
+miniflux.conf
A miniflux/Makefile => miniflux/Makefile +8 -0
@@ 0,0 1,8 @@
+.DEFAULT_GOAL := help
+.PHONY: help install
+
+help:
+ ../view-help.sh README.md
+
+install:
+ bash generate-conf.sh && mv miniflux.conf /etc/miniflux.conf
R miniflux/install-miniflux-conf.sh => miniflux/generate-conf.sh +2 -3
@@ 10,6 10,5 @@ if [[ -z $(which gpg) ]]; then
exit
fi
-gpg --decrypt --quiet psql_password.gpg | xargs -0 urlencode > password
-
-rm -f password
+PASSWORD=$(gpg --decrypt --quiet psql_password.gpg | xargs -0 urlencode)
+sed -e "s/<PASSWORD>/${PASSWORD}/" miniflux.conf.template > miniflux.conf
M miniflux/miniflux.conf.template => miniflux/miniflux.conf.template +1 -1
@@ 1,6 1,6 @@
# See https://miniflux.app/docs/configuration.html
RUN_MIGRATIONS=1
-DATABASE_URL="postgresql://miniflux:<PASSWORD>@localhost/miniflux"
+DATABASE_URL="postgresql://miniflux:i%5EyDxTU%3B%28%29q%7E%3A%272%5B.%5E5%7B@localhost/miniflux"
LISTEN_ADDR=127.0.0.1:9238
BASE_URL=http://www.groovestomp.com/rss/=
\ No newline at end of file