summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2022-11-01 11:40:44 +0100
committermakefu <github@syntax-fehler.de>2022-11-01 11:40:44 +0100
commit02a84bdb5605199da13ad3a3c5cb576ccf9f1c8d (patch)
treef2494da1a1c010ce86ddcf75da7901f5f4e461a6
parent5c922efff4fbcfed21482b6e90a1d0bee1deef5b (diff)
ma owncloud: wait for cloud to be mounted
-rw-r--r--makefu/2configs/deployment/owncloud.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/makefu/2configs/deployment/owncloud.nix b/makefu/2configs/deployment/owncloud.nix
index b660720e..36c67c7f 100644
--- a/makefu/2configs/deployment/owncloud.nix
+++ b/makefu/2configs/deployment/owncloud.nix
@@ -23,9 +23,11 @@ in {
fileSystems."/var/lib/nextcloud/data" = {
device = "/media/cloud/nextcloud-data";
options = [ "bind" ];
+ depends = [ "/media/cloud" ];
};
+
krebs.secret.files.nextcloud-db-pw = {
path = dbpw;
owner.name = "nextcloud";