factorio: module fixes

This commit is contained in:
Eric Litak 2016-04-27 03:32:35 -07:00 committed by Joachim Fasting
parent f6b645206f
commit 3531c42e5d
No known key found for this signature in database
GPG key ID: 4330820E1E04DCF4

View file

@ -75,9 +75,10 @@ in
after = [ "network.target" ];
preStart = ''
test -e ${stateDir}/saves/${cfg.saveName}.zip || ${pkgs.factorio-headless}/bin/factorio \
--config=${cfg.configFile} \
--create=${cfg.saveName}
test -e ${stateDir}/saves/${cfg.saveName}.zip || \
${pkgs.factorio-headless}/bin/factorio \
--config=${cfg.configFile} \
--create=${cfg.saveName}
'';
serviceConfig = {