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.
This commit is contained in:
2021-02-25 23:27:48 +01:00
parent ba2622e9c6
commit 41a7e868c6
2 changed files with 2 additions and 2 deletions

View File

@@ -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]