miniflux: add system account (for cron)

This commit is contained in:
Eivind Uggedal 2015-01-20 12:22:09 +00:00
parent 38426efdc7
commit 0ac12b16c8
2 changed files with 10 additions and 14 deletions

View File

@ -1,11 +1,7 @@
The miniflux database(s) are written to:
/var/lib/miniflux
The open_basedir directive in /etc/php/php.ini needs to contain this
path to allow file operations below it.
You should also configure the process running miniflux to use
the miniflux group to be able to write to this directory.
Lastly the pdo_sqlite extension needs to be enabled in /etc/php/php.ini.
1. The pdo_sqlite extension needs to be enabled in /etc/php/php.ini.
2. The open_basedir directive in /etc/php/php.ini needs to contain
/var/lib/miniflux to allow file operations below it.
3. The process running miniflux should be configured to use the miniflux
group to be able to write to /var/lib/miniflux.
4. A cron job for the miniflux user should be configured to update feeds:
cd /usr/share/webapps/miniflux && php cronjob.php

View File

@ -1,13 +1,13 @@
# Template file for 'miniflux'
pkgname=miniflux
version=1.1.6
revision=3
revision=4
noarch=yes
wrksrc=$pkgname
conf_files="/usr/share/webapps/${pkgname}/config.php"
system_groups="${pkgname}"
system_accounts="${pkgname}"
miniflux_homedir="/var/lib/${pkgname}"
make_dirs="/var/lib/${pkgname} 2770 root ${pkgname}"
make_dirs="/var/lib/${pkgname} 2770 ${pkgname} ${pkgname}"
hostmakedepends="unzip"
depends="php-sqlite"
short_desc="A minimalist web-based RSS reader"