diff options
author | Michael Weiss <dev.primeos@gmail.com> | 2019-04-27 19:10:43 +0200 |
---|---|---|
committer | Michael Weiss <dev.primeos@gmail.com> | 2019-04-27 19:19:27 +0200 |
commit | 753e1e0babd1d22677f08ae59c9322cd63de24d5 (patch) | |
tree | b20193aaba3ee082046c8907da8c99703ea79b0c /nixos | |
parent | 22348f951cd8dd4f6ba93442db5946b8f11ba1ed (diff) | |
download | nixpkgs-753e1e0babd1d22677f08ae59c9322cd63de24d5.tar nixpkgs-753e1e0babd1d22677f08ae59c9322cd63de24d5.tar.gz nixpkgs-753e1e0babd1d22677f08ae59c9322cd63de24d5.tar.bz2 nixpkgs-753e1e0babd1d22677f08ae59c9322cd63de24d5.tar.lz nixpkgs-753e1e0babd1d22677f08ae59c9322cd63de24d5.tar.xz nixpkgs-753e1e0babd1d22677f08ae59c9322cd63de24d5.tar.zst nixpkgs-753e1e0babd1d22677f08ae59c9322cd63de24d5.zip |
nixos/sks: Fix the module (the pre-start script was broken)
Unfortunately the changes in ab5dcc7068bfaca3a7a2eaa8ad824a86c2595681 introduced a typo (took me a while to spot that...) that broke the whole module (or at least the sks-db systemd unit). The systemd unit was failing with the following error message: ...-unit-script-sks-db-pre-start[xxx]: KDB/DB_CONFIG exists but is not a symlink.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/security/sks.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/security/sks.nix b/nixos/modules/services/security/sks.nix index 8136a5c763a..2d717ac9474 100644 --- a/nixos/modules/services/security/sks.nix +++ b/nixos/modules/services/security/sks.nix @@ -117,7 +117,7 @@ in { "ln -sfT \"${cfg.webroot}\" web"} mkdir -p dump # Check that both database configs are symlinks before overwriting them - if [ -e KDB/DB_CONFIG ] && [ ! -L KBD/DB_CONFIG ]; then + if [ -e KDB/DB_CONFIG ] && [ ! -L KDB/DB_CONFIG ]; then echo "KDB/DB_CONFIG exists but is not a symlink." >&2 exit 1 fi |