about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorPol Dellaiera <pol.dellaiera@protonmail.com>2023-09-25 22:02:52 +0200
committerPol Dellaiera <pol.dellaiera@protonmail.com>2023-09-25 22:02:52 +0200
commit57514f5bebc702c12fb05eca2ec113c6ea27e04e (patch)
tree0ca99a8cd43bdee000fba7acbfe466f7a32a73c4 /nixos
parent7e5e43ef91a3828f92f8dd149d9af6521d0c736b (diff)
downloadnixlib-57514f5bebc702c12fb05eca2ec113c6ea27e04e.tar
nixlib-57514f5bebc702c12fb05eca2ec113c6ea27e04e.tar.gz
nixlib-57514f5bebc702c12fb05eca2ec113c6ea27e04e.tar.bz2
nixlib-57514f5bebc702c12fb05eca2ec113c6ea27e04e.tar.lz
nixlib-57514f5bebc702c12fb05eca2ec113c6ea27e04e.tar.xz
nixlib-57514f5bebc702c12fb05eca2ec113c6ea27e04e.tar.zst
nixlib-57514f5bebc702c12fb05eca2ec113c6ea27e04e.zip
nixos/modules/honk: fix initdb service startup
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/web-apps/honk.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/honk.nix b/nixos/modules/services/web-apps/honk.nix
index e8718774575b..d47b17e54ffb 100644
--- a/nixos/modules/services/web-apps/honk.nix
+++ b/nixos/modules/services/web-apps/honk.nix
@@ -116,7 +116,7 @@ in
       unitConfig = {
         ConditionPathExists = [
           # Skip this service if the database already exists
-          "!$STATE_DIRECTORY/honk.db"
+          "!%S/honk/honk.db"
         ];
       };
     };