summaryrefslogtreecommitdiff
path: root/roles/elevate/media/templates
diff options
context:
space:
mode:
Diffstat (limited to 'roles/elevate/media/templates')
-rw-r--r--roles/elevate/media/templates/nextcloud-cron.service.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/elevate/media/templates/nextcloud-cron.service.j2 b/roles/elevate/media/templates/nextcloud-cron.service.j2
index 5c7e056d..c88d3bdc 100644
--- a/roles/elevate/media/templates/nextcloud-cron.service.j2
+++ b/roles/elevate/media/templates/nextcloud-cron.service.j2
@@ -3,7 +3,7 @@ Description=Nextcloud cron.php job
[Service]
Type=oneshot
-ExecStart=/usr/bin/docker exec -u www-data nextcloud php -f /var/www/html/cron.php
+ExecStart=/usr/bin/docker exec -u www-data nextcloud.service php -f /var/www/html/cron.php
NoNewPrivileges=yes
PrivateTmp=yes
PrivateDevices=yes