server/nextcloud: Fixed cron job running as the correct user

wip
Felix Stupp 5 years ago
parent 69ec4ef59c
commit 13736ece66
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -260,7 +260,7 @@
cron:
name: "nextcloud cron for {{ domain }}"
minute: "*/5"
job: "php -f \"{{ nextcloud_installation_directory }}/cron.php\""
job: "sudo -u {{ nextcloud_system_user }} php -f \"{{ nextcloud_installation_directory }}/cron.php\""
- name: Configure auto backup of nextcloud data directory
cron:

Loading…
Cancel
Save