ensure nextcloud cron service waits for setup to complete
This commit is contained in:
parent
cce19b503f
commit
f5d4becb50
1 changed files with 8 additions and 0 deletions
|
|
@ -42,4 +42,12 @@
|
|||
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" ];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue