Loading
nixos/nextcloud: add nextcloud-update-db.service, nextcloud-cron isn't oneshot
This service performs operations that significantly increase the performance of Nextcloud, can take a while. These are designed however to not require maintenance mode and can be executed during normal operation[1]. Make nextcloud-cron a simple unit instead of oneshot: otherwise we risk that it'll be stopped by the startup timeout (oneshot executes ExecStart while "activating") which can be an issue for very long running tasks or if Nextcloud needs to catch up if one task was broken for a while. [1] https://docs.nextcloud.com/server/29/admin_manual/maintenance/upgrade.html#long-running-migration-steps