[arch-commits] Commit in nextcloud/trunk (3 files)
Sergej Pupykin
spupykin at archlinux.org
Sat May 15 18:15:02 UTC 2021
Date: Saturday, May 15, 2021 @ 18:15:01
Author: spupykin
Revision: 934747
upgpkg: nextcloud 21.0.1-3
Added:
nextcloud/trunk/nextcloud-cron.service
nextcloud/trunk/nextcloud-cron.timer
Modified:
nextcloud/trunk/PKGBUILD
------------------------+
PKGBUILD | 17 ++++++++++++++---
nextcloud-cron.service | 9 +++++++++
nextcloud-cron.timer | 9 +++++++++
3 files changed, 32 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-15 18:08:37 UTC (rev 934746)
+++ PKGBUILD 2021-05-15 18:15:01 UTC (rev 934747)
@@ -4,7 +4,7 @@
pkgname=nextcloud
# NOTE: do not package x.0.0 versions as they are considered beta
pkgver=21.0.1
-pkgrel=2
+pkgrel=3
pkgdesc="A cloud server to store your files centrally on a hardware controlled by you"
arch=('any')
url="https://nextcloud.com"
@@ -18,6 +18,7 @@
'memcached: to use a local memcached server'
'php-apcu: for caching with APCU'
'php-apache: to use the Apache web server'
+ 'mod_itk: to use the Apache web server'
'php-fpm: to run in fastCGI process manager'
'php-imagick: for preview generation'
'php-imap: for external user authentication'
@@ -48,6 +49,8 @@
"${pkgname}.sysusers"
"${pkgname}.tmpfiles"
"${pkgname}.uwsgi"
+ "${pkgname}-cron.service"
+ "${pkgname}-cron.timer"
)
sha512sums=('a1339515349af45d293985e939235cf7a6723f0b65144c0635c66bc8110caa13a7e10672550aeb9aa46a61b93b28240cdb76696e41ccae76b8bed6d8667d3c51'
'SKIP'
@@ -57,7 +60,9 @@
'daae0331998fc3b135c18330cd8f8405958abce1a913cdbc16accc3c49f2b185a6d44cf4d768eb1eb11d1dd1d81dcc3fe75ec959bd9f4c9c5eb85c450d5ad408'
'1d06f339c43d57e5f5406c2698b815241fd9e39039a9e55f777face510c9a5ddae5ccd4e051393e8f16f391301a6aa03fff2462837a2d3441d969ea7195e7d84'
'51beae1dc7889cda73fa0b9bd578ba0d01272c3293e91946a4179496ed98ac900109dfe6e9e3b83f94096ecd2f17f77b8d2190960e41f47a599f4e6fd594a78a'
- '8bc7e76ba986cadf8d3bf35d6fbd8e7e236a61d1372e023c07e60427bacce925737c996d9fbaaeb51ed1066c1d0c8d83a86d7d640ed991b531744ed06629a670')
+ '8bc7e76ba986cadf8d3bf35d6fbd8e7e236a61d1372e023c07e60427bacce925737c996d9fbaaeb51ed1066c1d0c8d83a86d7d640ed991b531744ed06629a670'
+ 'c585af280c2503a5a969fffd53d192a045a1dedd6d3a32901dfa0e226f9ddb4b5d1b1760553e962b061172c0077fcc57b095d8b7c70cafaa8ca84dbfce2eaa24'
+ 'eb69785a5b0df0e2a11f53f9c2e2dbf75681d7c698e88cbcc5ceed713a558d528511cc576813cc083cbaa28a2c83d543a39436ad4805670348ef22634305b1c8')
b2sums=('75483871d83b5513ccdd8b4e142c63ac2efbe651df15a2a3631ccfdc0865d5a78f0aca2205359fe329ea28a550a6bdcfd05c45f2d059bca98ebca52f8d7d6c88'
'SKIP'
'7d40d120c28291f1a7537f3e1b5049fa83c9c0af949371345ea9ccdf3de4a0f3a3a06edbc52d9254dba483e4d11acf562cf679b9e379c5dfc2f61dfbfc2e4cef'
@@ -66,7 +71,9 @@
'150273823fdadcaecf3e2af036067581cb4cf02507c6da2a533ef3c288a2a715d076f83c6d6d4ff13cd336184f595361318faa2acdc68979edfad7afef0b575b'
'1a61a89531636b65dade03cd7edca8747b3e1e880f9bbd4d5a53cffa452d70fe17e345cfed739ae92e99e336d4c1f2633c84a5c84a4ee6da518762bf1396b1db'
'e7ce2f3dba5ea4a2daf2ce6e6c0fb3ff1afefbbc6067296b11ca3da4194a8ba049b137c4b2ca5411de2a1fd3b8ae28912bf0fd5f50fd9b147727a7f4e52290dc'
- '937ae5b89d968d784c7b68e1ca81e7aec11e295b95244fc4bcfec55b3d5f37ef70d5f593086eeb14101c8940a241565730cb6edcdf88165094c4ad27a89bd980')
+ '937ae5b89d968d784c7b68e1ca81e7aec11e295b95244fc4bcfec55b3d5f37ef70d5f593086eeb14101c8940a241565730cb6edcdf88165094c4ad27a89bd980'
+ '9857f3dd219b624869255e0d6c262b60de813b87ac4fd3fccad0a330392f55709e8c2d4b9dfb5ad19df7cc0fc13cc83cead06c9a1d893ee4e4972c4937df0c2b'
+ 'e6214351ca16bfe97683e838e727d6b5eaa62194878272204034c62aac4a632c9b33cd31aa0570c2eb936d7e9e7ff60190ac05a3a8cc2e27eda423a7d89b6d39')
validpgpkeys=('28806A878AE423A28372792ED75899B9A724937A') # Nextcloud Security <security at nextcloud.com>
prepare() {
@@ -110,4 +117,8 @@
install -vDm 644 "../${pkgname}.hook" -t "${pkgdir}/usr/share/doc/${pkgname}/"
# apache example conf
install -vDm 644 ../apache.example.conf -t "${pkgdir}/usr/share/doc/${pkgname}/"
+ # systemd timer
+ install -D -t $pkgdir/usr/lib/systemd/system -m 644 \
+ "${srcdir}"/${pkgname}-cron.service \
+ "${srcdir}"/${pkgname}-cron.timer
}
Added: nextcloud-cron.service
===================================================================
--- nextcloud-cron.service (rev 0)
+++ nextcloud-cron.service 2021-05-15 18:15:01 UTC (rev 934747)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Nextcloud; run cron.php
+
+[Service]
+User=nextcloud
+ExecStart=/usr/bin/php -f /usr/share/webapps/nextcloud/cron.php
+
+[Install]
+WantedBy=basic.target
Added: nextcloud-cron.timer
===================================================================
--- nextcloud-cron.timer (rev 0)
+++ nextcloud-cron.timer 2021-05-15 18:15:01 UTC (rev 934747)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Nextcloud; run cron.php periodically
+
+[Timer]
+OnBootSec=5min
+OnUnitActiveSec=5min
+
+[Install]
+WantedBy=timers.target
\ No newline at end of file
More information about the arch-commits
mailing list