aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-10-10 18:19:19 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-10-10 18:25:47 +0200
commit6a8f52d1cf9e74c8ef8a393ae5a7e05b236fbcda (patch)
tree662f1b203880494d6056ce6759cf5d632da711ff /community
parentb4bede3f03bd3a2a5b79eaa232ec94aee523cea7 (diff)
downloadaports-6a8f52d1cf9e74c8ef8a393ae5a7e05b236fbcda.tar.bz2
aports-6a8f52d1cf9e74c8ef8a393ae5a7e05b236fbcda.tar.xz
community/nextcloud: fix logrotate config
error: skipping "/var/log/nextcloud/nextcloud.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
Diffstat (limited to 'community')
-rw-r--r--community/nextcloud/APKBUILD4
-rw-r--r--community/nextcloud/nextcloud.logrotate1
2 files changed, 3 insertions, 2 deletions
diff --git a/community/nextcloud/APKBUILD b/community/nextcloud/APKBUILD
index 51b18474c8..917a34ceca 100644
--- a/community/nextcloud/APKBUILD
+++ b/community/nextcloud/APKBUILD
@@ -2,7 +2,7 @@
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
pkgname=nextcloud
pkgver=14.0.1
-pkgrel=0
+pkgrel=1
pkgdesc="A safe home for all your data"
url="http://nextcloud.com"
arch="noarch"
@@ -231,7 +231,7 @@ baa9d671643cc27cf0b3259ac25ad97811523aab223c35a30f23776ba4866156f7b04e39511b98e5
de1b433c2fb2582b599cb25e718e454fc4b93543a5a60eee39a03bcccf35d281594611395bdebe02319bedd9a894507eef97010ebdfca381e0f1a09df283d375 iconv-ascii-translit-not-supported.patch
478f5cd7c5d30380ea619d3e8ec623217a06a09b27534266f00297545c7d276b068c5d984673eebc5676e8bac7f45112549498944ce3fa678ac8a69541d7c430 use-external-docs-if-local-not-avail.patch
5f73cd9399fa484ef15bd47e803c93381deffbc7699eceadbb5c27e43b20156806d74e5021a64d28f0165ef87b519e962780651711a37bceb9f0b04455dfdce1 nextcloud-config.php
-f224d72799ee5819979089eb58978225454223bee597c938681a4f6279eb49297fe9250ac54ccf8bcb33ae262bce43d085affb77723492ee662263710d4008c9 nextcloud.logrotate
+e43c185dd577cca9f66313e00041392adfc14799f16cb60c339c71f42ef684292afe4e30e07ae884cd57ea0265ce42198e7e6871948cc3e56b9e222906f24085 nextcloud.logrotate
dcc57735d7d4af4a7ebbdd1186d301e51d2ae4675022aea6bf1111222dfa188a3a490ebd6e7c8a7ac30046cb7d93f81cec72a51acbc60d0c10b7fb64630c637a nextcloud.confd
edb699ea6127b231793254115b334006c2d50a0d2ecc846188c3521ddffc3c0e19c5e2944f03cae81e6c645c859258380691081b1c522a22d40939b31db36e8a nextcloud.cron
ee9073a6df4286cba2d1d855cf40863968f20677729b2c7848ab50a70d4915b8e84c957a850a03a707231256c11312e5792e7817dd50afbf73efe767fef2112d fpm-pool.conf
diff --git a/community/nextcloud/nextcloud.logrotate b/community/nextcloud/nextcloud.logrotate
index c5981ccb88..363143bf4c 100644
--- a/community/nextcloud/nextcloud.logrotate
+++ b/community/nextcloud/nextcloud.logrotate
@@ -3,4 +3,5 @@
rotate 7
compress
copytruncate
+ su nextcloud www-data
}