diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-01-12 09:11:56 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-01-12 09:12:09 +0000 |
commit | 0881fc56b0977a60b970c68980188cdcdd8c8f25 (patch) | |
tree | 537e53163476d542ec68c6589b15647a355ea090 /main/nextcloud | |
parent | 0778d46ddedada53268e05491eaf4144ebab97ef (diff) | |
download | aports-0881fc56b0977a60b970c68980188cdcdd8c8f25.tar.bz2 aports-0881fc56b0977a60b970c68980188cdcdd8c8f25.tar.xz |
main/nextcloud: move logfile into /var/log/zbar
Diffstat (limited to 'main/nextcloud')
-rw-r--r-- | main/nextcloud/APKBUILD | 3 | ||||
-rw-r--r-- | main/nextcloud/nextcloud-config.php | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/main/nextcloud/APKBUILD b/main/nextcloud/APKBUILD index 545fc6879d..dc15f42820 100644 --- a/main/nextcloud/APKBUILD +++ b/main/nextcloud/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=nextcloud pkgver=11.0.0 -pkgrel=0 +pkgrel=1 pkgdesc="A safe home for all your data" url="http://nextcloud.com" arch="noarch" @@ -61,6 +61,7 @@ package() { install -m664 ../../${pkgname}-config.php "$pkgdir"/etc/$pkgname/config.php || return 1 mv "$pkgdir"$_ncwwwdir/apps "$pkgdir"$_ncbasedir || return 1 ln -s $_ncappsdir "$pkgdir"$_ncwwwdir/apps || return 1 + install -m775 -g www-data -d "$pkgdir"/var/log/nextcloud for dir in ${_ncconfdir} ${_ncdatadir} ${_ncappsdir}; do chown -R :www-data "$pkgdir"$dir || return 1 chmod -R 770 "$pkgdir"$dir || return 1 diff --git a/main/nextcloud/nextcloud-config.php b/main/nextcloud/nextcloud-config.php index e99829a7cc..957df795f3 100644 --- a/main/nextcloud/nextcloud-config.php +++ b/main/nextcloud/nextcloud-config.php @@ -1,4 +1,5 @@ <?php $CONFIG = array ( 'datadirectory' => '/var/lib/nextcloud/data', + 'logfile' => '/var/log/nextcloud/nextcloud.log' ); |