about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorWill Fancher <elvishjerricco@gmail.com>2023-09-25 20:01:04 -0400
committerGitHub <noreply@github.com>2023-09-25 20:01:04 -0400
commit350b6b84e6892e471155dab8cb6f5edfa8e1084d (patch)
tree656d1947ac5b26216a96cf74ce32acc250e58489 /nixos
parent55e187e8c1ba3e4efb4b1d3f27f95effb91a515f (diff)
parent57514f5bebc702c12fb05eca2ec113c6ea27e04e (diff)
downloadnixlib-350b6b84e6892e471155dab8cb6f5edfa8e1084d.tar
nixlib-350b6b84e6892e471155dab8cb6f5edfa8e1084d.tar.gz
nixlib-350b6b84e6892e471155dab8cb6f5edfa8e1084d.tar.bz2
nixlib-350b6b84e6892e471155dab8cb6f5edfa8e1084d.tar.lz
nixlib-350b6b84e6892e471155dab8cb6f5edfa8e1084d.tar.xz
nixlib-350b6b84e6892e471155dab8cb6f5edfa8e1084d.tar.zst
nixlib-350b6b84e6892e471155dab8cb6f5edfa8e1084d.zip
Merge pull request #257325 from NixOS/honk/fix-initdb-script-startup
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"
         ];
       };
     };