nextcloud-background-job/nextcloud-background-job.service
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

10 lines
176 B
Desktop File

[Unit]
Description=Nextcloud cron.php background job
[Service]
User=nextcloud
ExecStart=/usr/bin/php -f /usr/share/webapps/nextcloud/cron.php
[Install]
WantedBy=basic.target