miniflux: add system account (for cron)
This commit is contained in:
parent
38426efdc7
commit
0ac12b16c8
2 changed files with 10 additions and 14 deletions
srcpkgs/miniflux
|
@ -1,11 +1,7 @@
|
||||||
The miniflux database(s) are written to:
|
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
|
/var/lib/miniflux to allow file operations below it.
|
||||||
|
3. The process running miniflux should be configured to use the miniflux
|
||||||
The open_basedir directive in /etc/php/php.ini needs to contain this
|
group to be able to write to /var/lib/miniflux.
|
||||||
path to allow file operations below it.
|
4. A cron job for the miniflux user should be configured to update feeds:
|
||||||
|
cd /usr/share/webapps/miniflux && php cronjob.php
|
||||||
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,13 +1,13 @@
|
||||||
# Template file for 'miniflux'
|
# Template file for 'miniflux'
|
||||||
pkgname=miniflux
|
pkgname=miniflux
|
||||||
version=1.1.6
|
version=1.1.6
|
||||||
revision=3
|
revision=4
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc=$pkgname
|
wrksrc=$pkgname
|
||||||
conf_files="/usr/share/webapps/${pkgname}/config.php"
|
conf_files="/usr/share/webapps/${pkgname}/config.php"
|
||||||
system_groups="${pkgname}"
|
system_accounts="${pkgname}"
|
||||||
miniflux_homedir="/var/lib/${pkgname}"
|
miniflux_homedir="/var/lib/${pkgname}"
|
||||||
make_dirs="/var/lib/${pkgname} 2770 root ${pkgname}"
|
make_dirs="/var/lib/${pkgname} 2770 ${pkgname} ${pkgname}"
|
||||||
hostmakedepends="unzip"
|
hostmakedepends="unzip"
|
||||||
depends="php-sqlite"
|
depends="php-sqlite"
|
||||||
short_desc="A minimalist web-based RSS reader"
|
short_desc="A minimalist web-based RSS reader"
|
||||||
|
|
Loading…
Reference in a new issue