diff --git a/modules/invoiceplane/default.nix b/modules/invoiceplane/default.nix index c17108d9..c086c24c 100644 --- a/modules/invoiceplane/default.nix +++ b/modules/invoiceplane/default.nix @@ -314,7 +314,7 @@ in { serviceConfig.Type = "oneshot"; script = concatStrings (mapAttrsToList (hostName: cfg: '' mkdir -p ${cfg.stateDir}/logs \ - ${cfg.stateDir}/uploads + ${cfg.stateDir}/uploads if ! grep -q IP_URL "${cfg.stateDir}/ipconfig.php"; then cp "${invoiceplane-config hostName cfg}" "${cfg.stateDir}/ipconfig.php" fi