Skip to content

Commit

Permalink
shout: fix preStart, fixes #11516
Browse files Browse the repository at this point in the history
preStart must be a string
  • Loading branch information
jgillich authored and garbas committed Dec 7, 2015
1 parent 0671416 commit 6c9931c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/shout.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6c9931c

Please sign in to comment.