ensure nextcloud cron service waits for setup to complete

This commit is contained in:
Jakub Dorfman 2026-07-15 17:10:41 +02:00
parent cce19b503f
commit f5d4becb50

View file

@ -42,4 +42,12 @@
port = 8081; port = 8081;
} }
]; ];
# The cron timer can fire before nextcloud-setup.service has finished on
# first boot, causing a "Not installed" failure. Make the cron service wait
# for setup to complete before it's allowed to run.
systemd.services.nextcloud-cron = {
after = [ "nextcloud-setup.service" ];
requires = [ "nextcloud-setup.service" ];
};
} }