shout: fix preStart, fixes #11516

preStart must be a string
This commit is contained in:
Jakob Gillich 2015-12-07 04:54:48 +01:00 committed by Rok Garbas
parent 067141621e
commit 6c9931c556

View File

@ -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