From ab2534dd8ab0af332ae9a1c24a9c68914dbf869b Mon Sep 17 00:00:00 2001 From: Mar Alegre Date: Mon, 28 Jul 2025 02:29:19 -0400 Subject: [PATCH] fix bug in service --- nextcloud/Systemdfile | 2 +- nextcloud/assets/systemd/nextcloud-cron.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nextcloud/Systemdfile b/nextcloud/Systemdfile index 5544c02..7e3f15c 100644 --- a/nextcloud/Systemdfile +++ b/nextcloud/Systemdfile @@ -23,7 +23,7 @@ nc-occ app:install calendar nc-occ app:install contacts nc-occ app:install notes nc-occ app:install bookmarks -#nc-occ app:install mail +nc-occ app:install mail # disable apps we don't want nc-occ app:disable comments dashboard federation files_trashbin firstrunwizard recommendations support survey_client systemtags weather_status diff --git a/nextcloud/assets/systemd/nextcloud-cron.service b/nextcloud/assets/systemd/nextcloud-cron.service index dc80386..89833ac 100644 --- a/nextcloud/assets/systemd/nextcloud-cron.service +++ b/nextcloud/assets/systemd/nextcloud-cron.service @@ -4,6 +4,6 @@ Description=Nextcloud cron.php job [Service] User=www-data # Only run if Nextcloud is running -ExecCondition=/usr/local/bin/nc-occ status -e +ExecCondition=/usr/bin/php -f /var/www/nextcloud/occ status -e ExecStart=/usr/bin/php -f /var/www/nextcloud/cron.php KillMode=process