Compare commits

...

4 Commits

Author SHA1 Message Date
Patrick Lühne e915b1f3d2
Version bump for release 1.0.3 2021-02-25 23:28:48 +01:00
Patrick Lühne 41a7e868c6
Run background job as nextcloud user
The Nextcloud package for Arch Linux now uses a dedicated user,
nextcloud, rather than the generic http user. Consequently, the
background job needs to be adjusted to run as that user.
2021-02-25 23:27:48 +01:00
Patrick Lühne ba2622e9c6
Version bump for release 1.0.2 2021-02-24 12:20:11 +01:00
Patrick Lühne a195d217af
Revert to system PHP, as PHP 8 is now supported 2021-02-24 12:19:34 +01:00
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# Maintainer: Patrick Lühne <patrick@luehne.de>
pkgname=nextcloud-background-job
pkgver=1.0.1
pkgver=1.0.3
pkgrel=1
pkgdesc='Regularly performs the Nextcloud cron.php background job'
arch=('i686' 'x86_64')
@ -10,7 +10,7 @@ license=('MIT')
depends=('nextcloud')
source=('nextcloud-background-job.'{service,timer}
'LICENSE.md')
sha512sums=('0955e61cbdc1a056fb98f1356f0e236740dc9096f494d0cdfb3a987f1f2da3f534711ae3a4114216836562e7ecbe771e7ec2ca525accdf531b0119270f803fb8'
sha512sums=('09d4378b547df8833e678fa10985213865278855800b4e87c05740530a072015c7c7c60c1b471f4b2033a4302a331a69039d2817865669f24c14f7e660ced77e'
'3aedfb198282d23a7017a9a33b06a63391a15e076cef36c5041c53da57a5ad2055a74e4f82c83de0af4dfed57971d954f4774f1d257e9f76cf8f8af395de6f49'
'328fcf40c7bf2a441af55c42682c7a5a49b43be1b1af852064849ec1d625b31c73e2f3c1fb95cfb823aee090713347f5dcda29679c2d050bd17380dfb5fdf047')

View File

@ -2,8 +2,8 @@
Description=Nextcloud cron.php background job
[Service]
User=http
ExecStart=/usr/bin/php7 -f /usr/share/webapps/nextcloud/cron.php
User=nextcloud
ExecStart=/usr/bin/php -f /usr/share/webapps/nextcloud/cron.php
[Install]
WantedBy=basic.target