aboutsummaryrefslogtreecommitdiffstats
path: root/main/nextcloud
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-01-12 09:11:56 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-01-12 09:12:09 +0000
commit0881fc56b0977a60b970c68980188cdcdd8c8f25 (patch)
tree537e53163476d542ec68c6589b15647a355ea090 /main/nextcloud
parent0778d46ddedada53268e05491eaf4144ebab97ef (diff)
downloadaports-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/APKBUILD3
-rw-r--r--main/nextcloud/nextcloud-config.php1
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'
);