factorio: module fixes
This commit is contained in:
parent
f6b645206f
commit
3531c42e5d
@ -75,7 +75,8 @@ in
|
|||||||
after = [ "network.target" ];
|
after = [ "network.target" ];
|
||||||
|
|
||||||
preStart = ''
|
preStart = ''
|
||||||
test -e ${stateDir}/saves/${cfg.saveName}.zip || ${pkgs.factorio-headless}/bin/factorio \
|
test -e ${stateDir}/saves/${cfg.saveName}.zip || \
|
||||||
|
${pkgs.factorio-headless}/bin/factorio \
|
||||||
--config=${cfg.configFile} \
|
--config=${cfg.configFile} \
|
||||||
--create=${cfg.saveName}
|
--create=${cfg.saveName}
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user