Browse Source

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.
master
Patrick Lühne 8 months ago
parent
commit
41a7e868c6
Signed by: patrick GPG Key ID: 05F3611E97A70ABF
  1. 2
      PKGBUILD
  2. 2
      nextcloud-background-job.service

2
PKGBUILD

@ -10,7 +10,7 @@ license=('MIT')
depends=('nextcloud')
source=('nextcloud-background-job.'{service,timer}
'LICENSE.md')
sha512sums=('2628b7c52f067c2bb6a820180d8d98d6b7380937071bd749b21a2385906c8f06b99257064f6e745c9ff800d45fb6a15473aa305288f68cdaf0b74810abf278c6'
sha512sums=('09d4378b547df8833e678fa10985213865278855800b4e87c05740530a072015c7c7c60c1b471f4b2033a4302a331a69039d2817865669f24c14f7e660ced77e'
'3aedfb198282d23a7017a9a33b06a63391a15e076cef36c5041c53da57a5ad2055a74e4f82c83de0af4dfed57971d954f4774f1d257e9f76cf8f8af395de6f49'
'328fcf40c7bf2a441af55c42682c7a5a49b43be1b1af852064849ec1d625b31c73e2f3c1fb95cfb823aee090713347f5dcda29679c2d050bd17380dfb5fdf047')

2
nextcloud-background-job.service

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

Loading…
Cancel
Save