summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorJakob Gillich <jakob@gillich.me>2015-12-07 04:54:48 +0100
committerRok Garbas <rok@garbas.si>2015-12-07 15:24:29 +0100
commit6c9931c55689ca668c6e0d3cff215b61f05b8ce8 (patch)
treeda5e29965fc0312600898be00e238c9abe1ab7d8 /nixos/modules
parent067141621e43773571f6d76111b738dd3b5f835c (diff)
downloadnixlib-6c9931c55689ca668c6e0d3cff215b61f05b8ce8.tar
nixlib-6c9931c55689ca668c6e0d3cff215b61f05b8ce8.tar.gz
nixlib-6c9931c55689ca668c6e0d3cff215b61f05b8ce8.tar.bz2
nixlib-6c9931c55689ca668c6e0d3cff215b61f05b8ce8.tar.lz
nixlib-6c9931c55689ca668c6e0d3cff215b61f05b8ce8.tar.xz
nixlib-6c9931c55689ca668c6e0d3cff215b61f05b8ce8.tar.zst
nixlib-6c9931c55689ca668c6e0d3cff215b61f05b8ce8.zip
shout: fix preStart, fixes #11516
preStart must be a string
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/networking/shout.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/shout.nix b/nixos/modules/services/networking/shout.nix
index f55b87a96140..fe3cba8f1492 100644
--- a/nixos/modules/services/networking/shout.nix
+++ b/nixos/modules/services/networking/shout.nix
@@ -57,7 +57,7 @@ in {
       wantedBy = [ "multi-user.target" ];
       wants = [ "network-online.target" ];
       after = [ "network-online.target" ];
-      preStart = if isNull cfg.configFile then null
+      preStart = if isNull cfg.configFile then ""
                  else ''
                    ln -sf ${pkgs.writeText "config.js" cfg.configFile} \
                           ${shoutHome}/config.js